Microsoft.Graph.Communications.Core
1.2.0.18774
Prefix Reserved
dotnet add package Microsoft.Graph.Communications.Core --version 1.2.0.18774
NuGet\Install-Package Microsoft.Graph.Communications.Core -Version 1.2.0.18774
<PackageReference Include="Microsoft.Graph.Communications.Core" Version="1.2.0.18774" />
<PackageVersion Include="Microsoft.Graph.Communications.Core" Version="1.2.0.18774" />
<PackageReference Include="Microsoft.Graph.Communications.Core" />
paket add Microsoft.Graph.Communications.Core --version 1.2.0.18774
#r "nuget: Microsoft.Graph.Communications.Core, 1.2.0.18774"
#:package Microsoft.Graph.Communications.Core@1.2.0.18774
#addin nuget:?package=Microsoft.Graph.Communications.Core&version=1.2.0.18774
#tool nuget:?package=Microsoft.Graph.Communications.Core&version=1.2.0.18774
Release History
1.2.0.18774 (2026-12-03)
Features Added
- Cloud-aware inbound authentication now uses
new GraphAuthenticationOptions(appId, CommunicationsCloud cloud = Public), which fills in the Microsoft Entra authority and issuer prefixes, the legacy OID authority and the trusted calling service app ids of the Public, GCCH, DoD or China cloud. Every value is a plain property that can be adjusted; nothing is inferred from URLs later, and an undefined cloud throws instead of defaulting to public-cloud trust. The options hold inbound settings only. - Added
RequestValidationResult.Failure(RequestValidationFailure:None,Unauthorized,Forbidden,Transient,Permanent), which decides the response to a rejected notification in both theICommunicationsClientand the statelessNotificationProcessorpaths:Unauthorized401 with aWWW-Authenticatechallenge,Forbidden403 without a challenge,Transient503 withRetry-After,Permanent500. It readsNonewheneverIsValidis true andUnauthorizedwhenIsValidis false and no kind was set, so a customIRequestAuthenticationProviderthat only setsIsValid = falsestill gets 401.IsValidandTenantIdare unchanged. - Inbound validation and outbound authentication are separate.
ICommunicationsClientBuilder.SetAuthentication(IOutboundRequestAuthenticator outboundAuthenticator, CommunicationsCloud cloud = CommunicationsCloud.Public, Action<GraphAuthenticationOptions> configure = null)is the single authentication entry point. Inbound notifications are validated by the built-inDefaultInboundRequestValidatorwith options that the builder creates for its own app id andcloud, asnew GraphAuthenticationOptions(appId, cloud)does;configure, when given, adjusts them once, before they are validated. Outbound requests are authenticated byoutboundAuthenticator.BearerTokenAuthenticatoradapts anITokenProvider:builder.SetAuthentication(new BearerTokenAuthenticator(tokenProvider)); builder.SetAuthentication( new BearerTokenAuthenticator(tokenProvider), CommunicationsCloud.GCCH, options => options.AdditionalAudiences.Add(legacyAppId)); IOutboundRequestAuthenticator.AuthenticateOutboundRequestAsync(HttpRequestMessage request, OutboundAuthenticationContext context, CancellationToken cancellationToken)authenticates one outbound request. The SDK creates a newOutboundAuthenticationContextfor each request;context.Tenantis the call's tenant, or null when the call has no tenant. The context is immutable, and later versions may add properties to it, with matching constructors, without changing the interface. The cancellation token cancels only that caller's wait:BearerTokenAuthenticatorstops waiting for the token without cancelling the shared acquisition.- Hosts without an
ICommunicationsClientthat only validate notifications (a front end that forwards them to another process, or a stateless host) usenew DefaultInboundRequestValidator(new GraphAuthenticationOptions(appId, cloud), logger)and itsValidateAsync(request, CancellationToken cancellationToken = default); no outbound authentication or placeholder token provider is needed. The token cancels only this caller's waits for metadata, never a metadata retrieval that other requests share. A cancelled validation throwsOperationCanceledExceptioninstead of returning a failed result, and a null request throwsArgumentNullException. A host with anICommunicationsClientdoes not create a second validator: it usesAuthenticateNotificationAsync(below). When validation runs in another process, both processes share oneAction<GraphAuthenticationOptions>, so both use the same options:// The bot process. Action<GraphAuthenticationOptions> configure = options => options.AdditionalAudiences.Add(legacyAppId); builder.SetAuthentication(new BearerTokenAuthenticator(tokenProvider), CommunicationsCloud.GCCH, configure); // The process that only validates, with the same configure. var validatorOptions = new GraphAuthenticationOptions(appId, CommunicationsCloud.GCCH); configure(validatorOptions); var validator = new DefaultInboundRequestValidator(validatorOptions, logger); DefaultInboundRequestValidatorisIDisposable: dispose a validator you create when you no longer need it; eachBuild()creates its client's own validator, which the client disposes, soBuild()can be called any number of times.ValidateAsyncthrowsObjectDisposedExceptionafter disposal, and a validation already in progress completes with its result.- Stateless hosts (no
ICommunicationsClient) combine three parts:DefaultInboundRequestValidatorfor inbound, aGraphAuthClientcreated with the new constructor that takes anIOutboundRequestAuthenticator, for outbound, andNotificationProcessor.INotificationProcessor.ProcessNotificationAsync(request, RequestValidationResult)(NotificationProcessorExtensions) is no longer obsolete: it processes an accepted request for the result's tenant and answers a rejected one with 403, 503 (withRetry-After, which signals a retryable failure), 401 (with aWWW-Authenticatechallenge) or, for aPermanentresult of a custom provider, 500, like the stateful client. The SDK trusts the result as is. AGraphAuthClientcreated this way cannot validate inbound requests; its obsoleteAuthenticationProvider.ValidateInboundRequestAsyncthrowsInvalidOperationException.var validator = new DefaultInboundRequestValidator(new GraphAuthenticationOptions(appId, cloud), logger); var graphClient = new GraphAuthClient(logger, serializerSettings, httpClient, new BearerTokenAuthenticator(tokenProvider), userAgent, defaultProperties); var response = await notificationProcessor.ProcessNotificationAsync(request, await validator.ValidateAsync(request)); CommunicationsClientExtensions.AuthenticateNotificationAsync(request, CancellationToken cancellationToken = default)authenticates a notification with the client's own validation without processing it, and the new (not obsolete)ProcessNotificationAsync(request, RequestValidationResult)processes a notification that was already authenticated, for example in another process or by host middleware. The SDK trusts the result as is: pass only a result from trusted validation of that request. A host that authenticates and processes in separate steps in the same process, or that wants to stop authenticating an aborted request, callsAuthenticateNotificationAsync(request, cancellationToken)(for example with the request's abort token) and thenProcessNotificationAsync(request, result), which answers a rejected request likeProcessNotificationAsync(request):
A cancelled authentication throwsvar result = await client.AuthenticateNotificationAsync(request, cancellationToken); var response = await client.ProcessNotificationAsync(request, result);OperationCanceledException. A customIRequestAuthenticationProvidertakes no token: it is not called when the token is already cancelled, and once it has started it runs to completion and its result is returned.RequestValidationFailure.Transient: reported when the request could not be validated only because a dependency was unavailable (the OpenID metadata could not be retrieved, or could not be refreshed while the token's signing key is unknown) and the token was not rejected. Notification processing then returns 503 Service Unavailable withRetry-After: 5instead of 401, which signals a retryable failure. Every remote dependency failure is transient: timeouts and cancelled retrievals, network, DNS and TLS errors, every HTTP error status, and metadata that downloads but cannot be used (unparseable, or without signing keys). A malformed, oversized or otherwise invalid token is always rejected with 401, and a token rejection (401) wins over a dependency failure (503). When the failure suggests a misconfiguration (a 400, 401, 403, 404, 405 or 410 from the metadata URL, or unusable metadata), the validator also logs a warning in the bot's log that names the URL and the status; the response carries no details.RequestValidationFailure.Permanent: answered with 500 Internal Server Error withoutRetry-After. The built-in validator does not report it, since every remote dependency failure is transient; a customIRequestAuthenticationProvidercan report a local configuration problem that a retry cannot fix.GraphAuthenticationOptions.MetadataHttpClientsets theHttpClientused to read the OpenID metadata and signing keys, for example to set a timeout, a proxy or handlers. The SDK does not dispose it.RequestValidationResult.FailureReasondescribes why a request was not accepted, andAuditReasonwhich audit-mode checks failed on an accepted request. Both are properties. Neither contains tokens or personal data.GraphAuthenticationOptions.CheckMode: a delegate, called each time a request fails anAuthenticationCheck, that returnsAuthenticationCheckMode.Auditto accept the request anyway, log a warning and report the failure inAuditReason, for rolling out a check.AuthenticationCheck.LegacyTokenCaller(the legacy OID caller app id check) is the only such check; the caller check of Microsoft Entra tokens is always enforced. A null or throwing delegate enforces.GraphAuthenticationOptions.AdditionalAudiencesis a set of audiences accepted in addition to the bot app id (for example a legacy, non-GUID app id). Every audience, including the bot app id, is compared ordinally (case-sensitive), and a single trailing slash is ignored.GraphAuthenticationOptions.TrustedCallerAppIdsis a set pre-filled with the cloud's calling service app ids: add an app id to also trust another calling service, or clear the set first to trust only the ones you add.ValidEntraIssuerPrefixesis a set pre-filled with the cloud's Microsoft Entra issuer prefixes and works the same way. Both sets ignore case.SetAuthenticationand theDefaultInboundRequestValidatorconstructor take a copy of theGraphAuthenticationOptionsthey receive, so changing the options afterwards, including options thatconfigurekept, has no effect on them.GraphAuthenticationOptions.Validate()checks the options early (for example at startup) and throws what the validator constructor would throw, andnew GraphAuthenticationOptions(other)copies options to derive a variant; the copy sharesCheckModeandMetadataHttpClient.GraphAuthenticationOptionsis validated whenSetAuthenticationruns or the validator is created: every URL must be an absolute HTTPS URL, every issuer prefix must end with/so that it pins a whole host, andValidEntraIssuerPrefixesandTrustedCallerAppIdsmust not be empty.ParticipantExtensions.InviteAsync(this IParticipantCollection participantCollection, IEnumerable<InvitationParticipantInfo> participants, TimeSpan? timeout, CancellationToken cancellationToken = default)andParticipantExtensions.InviteAsync(this IParticipantCollection participantCollection, IdentitySet identitySet, string replacesCallId, TimeSpan? timeout, CancellationToken cancellationToken = default)set how longInviteAsyncwaits for the invite operation to complete.nullkeeps the 30 s default; the timeout must be greater than zero and at mostint.MaxValuemilliseconds (Timeout.InfiniteTimeSpanis not supported), otherwiseArgumentOutOfRangeExceptionis thrown. The timeout only bounds the wait in the SDK: it is not sent to the service and does not limit how long the invitee rings. These are extension methods, soIParticipantCollectionis unchanged and existing implementations and compiled callers keep working. A custom timeout applies to participant collections created by the SDK (ICall.Participants); on otherIParticipantCollectionimplementations anullor 30 s timeout callsIParticipantCollection.InviteAsync(participants, cancellationToken)and any other value throwsNotSupportedException.
Breaking Changes
GraphHttpClientno longer follows a redirect (3XX) response unlessCustomRedirectUriGeneratoris set; without it, the 3XX is returned to the caller. The generator receives the response and returns the URI to follow, or null to return the 3XX. The request is sent again with its original headers, including credentials, so only return trusted URIs. To keep the previous behavior for a trusted downstream, setclient.CustomRedirectUriGenerator = response => response.Headers.Location;.Clone()does not copy the generator.IGraphHttpClient.SendRawHttpRequestAsyncno longer has adisableRedirectparameter. On a client without a generator, just remove the argument: it does not follow anyway. On a client with a generator, removing it makes those requests follow: move that decision into the generator (return null to not follow), or send those requests through a client without a generator. This applies only to a 3XX that the underlyingHttpClientreturns: anHttpClientpassed to the constructor keeps its handler settings, so setAllowAutoRedirect = falseon its handler for the generator to apply.GraphAuthClientis unchanged with theHttpClientthatGraphAuthClientFactorycreates by default, whose handler follows redirects itself; with anHttpClientset throughICommunicationsClientBuilder.SetHttpClientwhose handler hasAllowAutoRedirect = false, it now reports a Graph 3XX as a failed request (ServiceException).- Authentication has one builder entry point, and inbound validation is separate from outbound authentication. The default authenticator APIs changed:
DefaultAuthenticationProviderandSetAuthentication(appId, tokenProvider)(first shipped in 1.2.0.17950), and the cloud-awareSetAuthenticationoverloads,CommunicationsClientBuilderExtensions,RequestValidationResult.IsAuthorizationFailureand theGraphAuthenticationOptionsshape (shipped in 1.2.0.18742). Breaking them is intentional, to give every bot one entry point with separate inbound and outbound parts. Code that usesSetAuthenticationProviderwith its ownIRequestAuthenticationProviderkeeps compiling and working; see the entries below on the new obsolete diagnostics and on response status changes.ICommunicationsClientBuilderhas exactly oneSetAuthentication(IOutboundRequestAuthenticator outboundAuthenticator, CommunicationsCloud cloud = CommunicationsCloud.Public, Action<GraphAuthenticationOptions> configure = null), which uses the builder's app id. It replacesSetAuthentication(string appId, ITokenProvider tokenProvider), so custom implementations of the interface must implement the new member.DefaultAuthenticationProvideris no longer public. Inbound validation is the publicDefaultInboundRequestValidator(ValidateAsync); outbound authentication is anIOutboundRequestAuthenticator.builder.SetAuthentication(appId, tokenProvider)→
The expected token audience is now the builder's app id. If thebuilder.SetAuthentication(new BearerTokenAuthenticator(tokenProvider));appIdyou passed differed from the builder's app id, add it inconfigurewithoptions.AdditionalAudiences.Add(appId), or notifications for it are rejected with 401:builder.SetAuthentication(new BearerTokenAuthenticator(tokenProvider), CommunicationsCloud.Public, options => options.AdditionalAudiences.Add(appId));builder.SetAuthentication(appId, tokenProvider, AzureCloudInstance cloud)(aCommunicationsClientBuildermethod or aCommunicationsClientBuilderExtensionsextension method, both removed) →builder.SetAuthentication(new BearerTokenAuthenticator(tokenProvider), CommunicationsCloud.Public);AzureCloudInstance.AzurePublic(orNone) maps toCommunicationsCloud.Public,AzureChinatoChina, andAzureUsGovernmenttoGCCHorDoD, whichever cloud the bot runs in. The cloud also sets the legacy OID authority, which no longer has to be supplied for US Government. As above, anappIdthat differed from the builder's app id goes intooptions.AdditionalAudiencesinconfigure.GraphAuthenticationOptionshas no parameterless constructor, andValidEntraIssuerPrefixesandTrustedCallerAppIdsare get-only sets pre-filled for the cloud (they must not be left empty; nothing is inferred when they are). The builder creates the options itself, sobuilder.SetAuthentication(appId, tokenProvider, options)with an object initializernew GraphAuthenticationOptions { EntraAuthorityUrl = ..., TrustedCallerAppIds = callerIds }→ the same settings inconfigure:
Callbuilder.SetAuthentication(new BearerTokenAuthenticator(tokenProvider), cloud, options => { options.EntraAuthorityUrl = ...; options.TrustedCallerAppIds.Clear(); foreach (var callerId in callerIds) { options.TrustedCallerAppIds.Add(callerId); } });AddwithoutClear()to trust app ids in addition to the cloud's;ValidEntraIssuerPrefixesworks the same way. As above, anappIdthat differed from the builder's app id goes intooptions.AdditionalAudiences. Options forDefaultInboundRequestValidatorare created withnew GraphAuthenticationOptions(appId, cloud)and adjusted the same way.new DefaultAuthenticationProvider(appId, tokenProvider, ...)(any constructor) used to validate notifications →var validator = new DefaultInboundRequestValidator(new GraphAuthenticationOptions(appId), logger); var result = await validator.ValidateAsync(request);- A
DefaultAuthenticationProvidercombined with custom outbound code in your ownIRequestAuthenticationProvider→ implementIOutboundRequestAuthenticatorand callSetAuthentication(outboundAuthenticator, cloud, configure)(stateful client) or pass it to theGraphAuthClientconstructor that takes anIOutboundRequestAuthenticator(stateless), or keep your provider and delegate inbound validation toDefaultInboundRequestValidator.ValidateAsync.
- Legacy OID bot notification tokens must now carry a trusted calling service app id (
appid/azpinGraphAuthenticationOptions.TrustedCallerAppIds), as Microsoft Entra tokens already did. The calling service includes its app id in every legacy token, so bots using the default trusted caller app ids need no change. RequestValidationResult.IsAuthorizationFailure(added in 1.2.0.18742) is removed. A customIRequestAuthenticationProviderthat rejects an authenticated caller for authorization reasons setsFailure = RequestValidationFailure.Forbiddento keep returning 403:IsAuthorizationFailure = true→Failure = RequestValidationFailure.Forbidden.- The
GraphAuthClientconstructor taking anIRequestAuthenticationProviderand theGraphAuthClient.AuthenticationProviderproperty are now[Obsolete](GRAPHCOMM_AUTH_0001onnet8.0,CS0618otherwise): use theGraphAuthClientconstructor that takes anIOutboundRequestAuthenticator(wrap anITokenProviderin aBearerTokenAuthenticator) and validate inbound requests withDefaultInboundRequestValidator. Both keep working.GraphAuthClientFactoryfollows suit: its constructor taking anIRequestAuthenticationProviderand itsAuthenticationProviderproperty are[Obsolete]with the same diagnostic, and a new constructor takes anIOutboundRequestAuthenticator; a factory created with it exposes anAuthenticationProviderwhose inbound validation throwsInvalidOperationException. While both constructors of either type exist, a literalnullor an argument that implements both interfaces is ambiguous (CS0121); cast it to the interface you mean. ICommunicationsClient.AuthenticationProvideris now[Obsolete]with the same diagnostic: authenticate a notification withclient.AuthenticateNotificationAsync(request, cancellationToken)and process it withclient.ProcessNotificationAsync(request, result), and authenticate outbound requests with theIOutboundRequestAuthenticatorpassed toSetAuthentication. It keeps working.SetAuthenticationrequires a non-null outbound authenticator and throwsArgumentNullExceptionotherwise. Every bot needs outbound authentication, for example to answer a call, so a missing one is reported at startup instead of failing later. It also throwsArgumentOutOfRangeExceptionfor an undefined cloud andArgumentExceptionfor invalid options, and an exception thrown byconfigurepropagates; when it throws, the builder is unchanged.- Inbound bearer tokens that carry the Microsoft Entra
xms_ds_cnforxms_ds_nonceclaim are now rejected in every build, like tokens with an RFC 7800cnfclaim (rejected since 1.2.0.18742): they are bound to a proof-of-possession key and are not accepted as bearer tokens. - Token tenant ids must be GUIDs: a token whose
tidis not a GUID is rejected. - Notifications are authenticated before their content is parsed: an unauthenticated request with a malformed body now gets 401 instead of 400, and the notifications of a rejected request are no longer logged.
IParticipantCollection.InviteAsync(and theInviteAsync(IdentitySet, ...)extension) waits for the invite operation to complete, up to 30 s by default, instead of returning as soon as the request is accepted. The 1.2.0.9212 rewrite had made it return right away; the wait was restored in July 2024. This behavior first shipped in 1.2.0.18725 and was not called out in its release notes. An invitee that rings longer than the wait makesInviteAsyncthrowTimeoutException. The invitation is not cancelled: the invitee keeps ringing and the outcome still arrives through participant roster updates (IParticipantCollection.OnUpdated). Pass a longertimeout(see Features Added), or catch theTimeoutExceptionand rely on the roster updates.
Bugs Fixed
- Typed successful responses preserve their status and headers when the JSON body is absent, empty, or whitespace-only.
- A legacy OID token is validated only against the legacy OID metadata and a Microsoft Entra token only against the Microsoft Entra metadata, chosen by the token's issuer. Legacy-only traffic therefore no longer reads or waits for the Microsoft Entra metadata, and a Microsoft Entra token no longer causes a legacy OID metadata refresh. A token whose issuer is not accepted, or that has no issuer or cannot be read, is rejected with 401 without reading any metadata. The issuer, the signature and every other claim are still validated.
- A legacy OID token signed by a newly rotated key waits up to 3 s for refreshed metadata instead of getting 401; if the refresh is still running or fails, the request gets 503, which signals a retryable failure. Cancelling the token passed to
ValidateAsyncends only that request's wait. Microsoft Entra tokens do not wait. GetAsyncon a stateful collection (for exampleICall.Participants.GetAsync) no longer throwsArgumentException("Trying to register the same object multiple times") or raises a second added event when a collection notification adds the same resource while the fetch is in flight; it returns the resource that is in the collection. A collection notification that finds the resource already added byGetAsyncnow updates it instead of failing because the resource already exists. During this raceGetAsynccan return the resource before its added event is raised or before it is subscribed to notifications, and an updated event can be raised before the added event. A resource also subscribes to notifications only once when two threads initialize it at the same time, and a resource disposed while subscribing ends up unsubscribed. Single-resource created notifications, rehydration andAddAsynccan still fail withresourceAlreadyExistsin the same race.
Other Changes
- The
INotificationProcessor.ProcessNotificationAsyncoverload taking a validation callback (NotificationProcessorExtensions) stays[Obsolete], with a new message: callValidateAsyncon aDefaultInboundRequestValidatorand pass the result toProcessNotificationAsync(request, RequestValidationResult), or useICommunicationsClient.ProcessNotificationAsync(HttpRequestMessage), which authenticates internally. INotificationProcessor.ProcessNotificationAsync(request, tenant),INotificationProcessor.ProcessNotificationsandICommunicationsClient.ProcessNotificationsdocument that they do not authenticate and trust the tenant as given, so they must only be called for a request the host has already validated.- The
IRequestAuthenticationProvider.ValidateInboundRequestAsyncdocumentation describes the response to a rejected request byRequestValidationResult.Failure: 401 forUnauthorized(also when no kind is set), 403 forForbidden, 503 withRetry-AfterforTransient, and 500 forPermanent. Common,Core,Client,CallsandCalls.Medianow all shiplib/net10.0next to their existing targets, so .NET 10 applications use .NET 10 builds instead of falling back to the net8.0 or netstandard2.0 assemblies. Previously onlyCalls.Mediadid. The net10.0 dependency groups omit packages that .NET 10 itself provides (such asSystem.Net.HttpandSystem.Text.Json). This does not establish native media runtime support on .NET 10.
1.2.0.18742 (2026-10-30)
Features Added
- Added a trailing optional
automaticDecompressionparameter toGraphHttpClientfor opt-in GZip/Deflate response decompression, plus Brotli on .NET 6 and later. It defaults toNone; the original constructor signature and caller-suppliedHttpClientsettings remain supported (with a supplied client,automaticDecompressionis ignored and a warning is logged). - Cloud-aware inbound authentication: new
SetAuthentication(appId, tokenProvider, AzureCloudInstance)andSetAuthentication(appId, tokenProvider, GraphAuthenticationOptions)overloads let bots validate notifications in sovereign clouds (US Gov, China) instead of assuming public cloud. They are instance methods onCommunicationsClientBuilderand extension methods onICommunicationsClientBuilder(CommunicationsClientBuilderExtensions), so existing implementations of the interface are unaffected. UnsupportedAzureCloudInstancevalues (e.g.AzureGermany) throw instead of defaulting to public-cloud trust. - Added
RequestValidationResult.IsAuthorizationFailure. When set on a failed validation, notification processing returns 403 Forbidden without aWWW-Authenticatechallenge instead of 401. - Hardened inbound token validation: signing-algorithm pinning, signing-key issuer validation,
iss/tidbinding, and an allowlist of trusted calling service app ids. - Added
x-microsoft-bot-auth-typeandx-microsoft-bot-sdk-versionresponse headers on authenticated notification responses. Microsoft.Graph.Communications.Clientnow also targetsnet8.0.Microsoft.Graph.Communications.Commonnow also targetsnet8.0. net8.0 apps get this build, soGraphHttpClientusesSocketsHttpHandler.
Breaking Changes
INotificationProcessor.ProcessNotificationAsync(request, RequestValidationResult)now returns 401 Unauthorized instead of 403 Forbidden when the inbound token is missing or invalid, and includes an RFC 6750WWW-Authenticatechallenge. CustomIRequestAuthenticationProviderimplementations that reject an authenticated caller for authorization reasons should setIsAuthorizationFailure = trueto keep returning 403.- The
ProcessNotificationAsyncoverloads taking aRequestValidationResultor a validation callback are now[Obsolete]; useICommunicationsClient.ProcessNotificationAsync(HttpRequestMessage), which authenticates internally. Suppress withCS0618if you need to defer the migration. - On
net8.0, the obsoleteICommunicationsClientBuilder.SetAuthenticationProvidernow reports diagnosticGRAPHCOMM_AUTH_0001instead ofCS0618, so existingCS0618suppressions no longer silence it. Migrate toSetAuthentication, or suppressGRAPHCOMM_AUTH_0001to defer the migration. - The
net8.0build ofMicrosoft.Graph.Communications.Commonomits theCollectionUtils.GetValueOrDefault(this IDictionary<TKey, TValue>, ...)extension methods. Onnet8.0, calls on aDictionary<TKey, TValue>orIReadOnlyDictionary<TKey, TValue>bind to the BCLGetValueOrDefaultwith the same behavior, while calls on anIDictionary<TKey, TValue>no longer compile; useTryGetValueinstead. Assemblies already compiled against thenetstandard2.0build that call these methods throwMissingMethodExceptionin anet8.0app and must be rebuilt without those calls (for example, usingTryGetValue). DefaultAuthenticationProviderconstructors and theSetAuthenticationoverloads now require a non-nullITokenProviderand throwArgumentNullExceptionotherwise. Every bot needs outbound tokens, for example to answer a call, so a missing token provider is now reported at startup instead of failing later.- Inbound bearer tokens (Microsoft Entra and legacy OID) that are bound to a proof-of-possession key (RFC 7800
cnfclaim) are rejected: proof-of-possession bound tokens are not accepted as bearer tokens.
Bugs Fixed
- Inbound token validation now uses the authority's OpenID metadata through its configuration manager instead of a key snapshot, so a token signed by a key the cached metadata does not contain yet (for example after a signing key rollover) triggers a metadata refresh, and the last known good metadata is used as a fallback. This also makes the Microsoft Entra signing key issuer validation take effect for v2 tokens.
- Azure China: the Microsoft Entra metadata is read from
login.partner.microsoftonline.cn, and the accepted issuers arehttps://login.partner.microsoftonline.cn/{tenant}/v2.0(v2) andhttps://sts.chinacloudapi.cn/{tenant}/(v1), the issuers Microsoft Entra in Azure China actually uses.login.chinacloudapi.cnis still accepted as an authority URL inGraphAuthenticationOptions.
Other Changes
ICommunicationsClientBuilder.SetNotificationUrlandSetServiceBaseUrlnow report the offending URL's scheme and host and setArgumentException.ParamNamewhen the scheme is not HTTPS. Only scheme/host/port are included — any user-info, path, query or fragment (which may carry credentials or opaque routing values) is omitted from the message. Code matching the previous literal text"URI must be https."should switch toParamName.
1.2.0.18736 (2026-09-28)
Features Added
- Use Microsoft.Skype.Bots.Media 1.31.0.225-preview for net6.0 and 1.33.0.258-preview for net8.0/net472.
- Remove the public dependencies on internal-only packages that were added in 1.2.0.18725.
1.2.0.18725 (2026-09-02)
Features Added
- Add CVI lobby management APIs for admitting or removing a participant from the lobby and admitting all lobby participants.
- Add v1 SDK support for raising and lowering hands in calls and meetings.
Other Changes
Microsoft.Graph.Communications.CallsandMicrosoft.Graph.Communications.Calls.Medianow also targetnet8.0(in addition tonet472andnet6.0).Microsoft.Graph.Communications.Calls.Mediaadded a dependency on System.Formats.Asn1 8.0.1 and on internal-only packages, which were removed in 1.2.0.18736.
1.2.0.17950 (2026-07-02)
Features Added
- Added
DefaultAuthenticationProviderandICommunicationsClientBuilder.SetAuthentication(appId, tokenProvider): built-in validation of inbound notifications that accepts both Microsoft Entra tokens and legacy OID tokens, to support the migration to Entra.
Other Changes
ICommunicationsClientBuilder.SetAuthenticationProvideris now[Obsolete](CS0618); useSetAuthentication(appId, tokenProvider)instead.- Upgrade Microsoft.Identity.Client (MSAL) from 4.73.1 to 4.83.1.
Microsoft.Graph.Communications.Coreadded dependencies on Microsoft.IdentityModel.Protocols.OpenIdConnect 8.16.0, Microsoft.IdentityModel.Validators 8.16.0 and System.IdentityModel.Tokens.Jwt 8.16.0, used for inbound token validation.- Upgrade System.Text.Json from 8.0.5 to 10.0.5 in
Microsoft.Graph.Communications.ClientandMicrosoft.Graph.Communications.Calls.net472bots may need to update binding redirects. Microsoft.Graph.Communications.CoreandMicrosoft.Graph.Communications.Commonnow list the Kiota packages (Microsoft.Kiota.Abstractions, Authentication.Azure, Http.HttpClientLibrary, Serialization.Form, Serialization.Json, Serialization.Multipart, Serialization.Text) 1.22.1 as direct dependencies.- Upgrade Microsoft.Extensions.Logging.Abstractions from 8.0.2 to 8.0.3 in
Microsoft.Graph.Communications.Common. Microsoft.Graph.Communications.Calls.Mediaadded a dependency on SQLitePCLRaw.bundle_e_sqlite3 3.0.3.
1.2.0.15690 (2025-10-24)
Other Changes
- No changes beyond 1.2.0.15533 are recorded in this version's package release notes or dependency list.
1.2.0.15533 (2025-10-13)
Other Changes
- Upgrade Microsoft.Identity.Client (MSAL) from 4.67.2 to 4.73.1.
1.2.0.15382 (2025-10-02)
Other Changes
- No changes beyond 1.2.0.15235 are recorded in this version's package release notes or dependency list.
1.2.0.15235 (2025-09-12)
Features Added
- Expose Opt-in/Opt-out for Interactive Delta Roster.
- Upgrade Microsoft.Graph to 5.92.0 version
- Upgrade Graph.Core to 3.2.4 version
- Removed direct dependency of Kiota libraries
- Upgrade Microsoft.OpenApi.Hidi to 1.3.10 version
- Upgrade Microsoft.OpenApi.Kiota to 1.8.2 version
- Upgrade Microsoft.Skype.Bots.Media to 1.31.0.225-preview version
Bugs Fixed
- Fixed an issue where the Communications SDK might not capture additional endpoints in participant roster updates when using delta roster notification mode.
- Fixed an issue where the Microsoft Graph AnswerAsync method throws an exception when the bot tries to answer incoming calls, caused by Windows updates
1.2.0.10563 (2024-04-16)
Features Added
Breaking Changes
Bugs Fixed
- Fix CommsNotification AdditionalData dictionary overrided issue in Call update.
Other Changes
1.2.0.10115 (2024-03-04)
Features Added
- Expose Subcode as part of ServiceException model
Breaking Changes
Bugs Fixed
- Fix RemovedResources behavior for Guest/Phone type identities.
Other Changes
- Performance improvement for AdditionalDataExtensions.
1.2.0.9895 (2024-02-12)
Features Added
Breaking Changes
Bugs Fixed
- Participants OnUpdated fix to not return removedParticipants incorrectly.
- Concurrency issue fix for notification queue callbacks.
Other Changes
- Performance improvements for SDK event processing behavior.
1.2.0.9486 (2024-01-09)
Features Added
- Enable Send DTMF Tones API in V1.
- Expose PreferredDisplayName property in Participant object.
- Expose OnlineMeetingRestricted property in Participant object.
Breaking Changes
Bugs Fixed
Other Changes
1.2.0.9212 (2023-12-07)
Features Added
- Upgrade SDK to use Kiota generation, Consume Microsoft Graph SDK v5.
- Delta roster notification changes to V1.
Breaking Changes
- Model namespace changes.
- Model properties that were arrays are now List implementation.
- Model property types which were enum are now nullable enums.
- Service Exception class structure changes.
- Other generated model changes when using kiota generated models.
Bugs Fixed
Other Changes
1.2.0.7270 (2023-06-30)
Features Added
- Added support for .net core.
- Bot Media upgrade to 1.26.0.94-alpha version.
Breaking Changes
Bugs Fixed
1.2.0.5304 (2022-10-06)
Features Added
- Promote start/end content sharing notifications to v1.
- Promote AddLargeGalleryView api endpoint to v1.
Breaking Changes
Bugs Fixed
Other Changes
1.2.0.4161 (2022-02-22)
(Customer reported exceptions occur after updating Graph Microsoft.Graph dependency to 4.18.0, please use the default version Microsoft.Graph 4.14.0)
Features Added
- Cancel a pending call invitation to a participant.
- Supporting FIPS enabled environment.
Breaking Changes
Bugs Fixed
Other Changes
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.Graph (>= 5.92.0)
- Microsoft.Graph.Communications.Common (>= 1.2.0.18774)
- Microsoft.Graph.Core (>= 3.2.4)
- Microsoft.Identity.Client (>= 4.83.1)
- Microsoft.IdentityModel.Protocols.OpenIdConnect (>= 8.16.0)
- Microsoft.IdentityModel.Validators (>= 8.16.0)
- Microsoft.Kiota.Abstractions (>= 1.22.1)
- Microsoft.Kiota.Authentication.Azure (>= 1.22.1)
- Microsoft.Kiota.Http.HttpClientLibrary (>= 1.22.1)
- Microsoft.Kiota.Serialization.Form (>= 1.22.1)
- Microsoft.Kiota.Serialization.Json (>= 1.22.1)
- Microsoft.Kiota.Serialization.Multipart (>= 1.22.1)
- Microsoft.Kiota.Serialization.Text (>= 1.22.1)
- System.IdentityModel.Tokens.Jwt (>= 8.16.0)
- System.Net.Http (>= 4.3.4)
-
net10.0
- Microsoft.Graph (>= 5.92.0)
- Microsoft.Graph.Communications.Common (>= 1.2.0.18774)
- Microsoft.Graph.Core (>= 3.2.4)
- Microsoft.Identity.Client (>= 4.83.1)
- Microsoft.IdentityModel.Protocols.OpenIdConnect (>= 8.16.0)
- Microsoft.IdentityModel.Validators (>= 8.16.0)
- Microsoft.Kiota.Abstractions (>= 1.22.1)
- Microsoft.Kiota.Authentication.Azure (>= 1.22.1)
- Microsoft.Kiota.Http.HttpClientLibrary (>= 1.22.1)
- Microsoft.Kiota.Serialization.Form (>= 1.22.1)
- Microsoft.Kiota.Serialization.Json (>= 1.22.1)
- Microsoft.Kiota.Serialization.Multipart (>= 1.22.1)
- Microsoft.Kiota.Serialization.Text (>= 1.22.1)
- System.IdentityModel.Tokens.Jwt (>= 8.16.0)
-
net8.0
- Microsoft.Graph (>= 5.92.0)
- Microsoft.Graph.Communications.Common (>= 1.2.0.18774)
- Microsoft.Graph.Core (>= 3.2.4)
- Microsoft.Identity.Client (>= 4.83.1)
- Microsoft.IdentityModel.Protocols.OpenIdConnect (>= 8.16.0)
- Microsoft.IdentityModel.Validators (>= 8.16.0)
- Microsoft.Kiota.Abstractions (>= 1.22.1)
- Microsoft.Kiota.Authentication.Azure (>= 1.22.1)
- Microsoft.Kiota.Http.HttpClientLibrary (>= 1.22.1)
- Microsoft.Kiota.Serialization.Form (>= 1.22.1)
- Microsoft.Kiota.Serialization.Json (>= 1.22.1)
- Microsoft.Kiota.Serialization.Multipart (>= 1.22.1)
- Microsoft.Kiota.Serialization.Text (>= 1.22.1)
- System.IdentityModel.Tokens.Jwt (>= 8.16.0)
- System.Net.Http (>= 4.3.4)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on Microsoft.Graph.Communications.Core:
| Package | Downloads |
|---|---|
|
Microsoft.Graph.Communications.Client
Microsoft Graph Communications Client Library - The Communications stateful client base SDK. This package is meant to be used in conjunction with Microsoft.Graph.Communications.Calls or Microsoft.Graph.Communications.Calls.Media libraries. |
|
|
Microsoft.Graph.Communications.Calls
Microsoft Graph Communications Client Library - The Communications Calling stateful SDK. Make, receive, and join calls with Microsoft Teams users. Create voice and video enabled assistant bots. |
|
|
Microsoft.Graph.Communications.Core.Calls
Microsoft Graph Communications Client Core Calls Library - Additional contracts for Communications Calls APIs not yet published to Graph v1.0. |
|
|
TComp.Sepg.MCVRelEng
Package Description |
|
|
GraphCallingBots
Graph calling bots built for ASP.Net 8. Simplify calling bots for Teams/Graph in C# |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.2.0.18774 | 0 | 12/3/2026 |
| 1.2.0.18742 | 18,046 | 10/30/2026 |
| 1.2.0.18736 | 20,151 | 9/28/2026 |
| 1.2.0.18725 | 4,212 | 9/3/2026 |
| 1.2.0.17950 | 47,530 | 7/2/2026 |
| 1.2.0-beta.18774 | 0 | 12/3/2026 |
| 1.2.0-beta.18742 | 94 | 10/30/2026 |
| 1.2.0-beta.18736 | 125 | 9/28/2026 |
| 1.2.0-beta.18725 | 117 | 9/3/2026 |
| 1.2.0-beta.18596 | 179 | 8/6/2026 |
| 1.2.0-beta.18480 | 134 | 7/30/2026 |
| 1.2.0-beta.18470 | 135 | 7/29/2026 |
| 1.2.0-beta.18438 | 109 | 7/28/2026 |
| 1.2.0-beta.18376 | 257 | 7/24/2026 |
| 1.2.0-beta.17950 | 142 | 7/2/2026 |
| 1.2.0-beta.17851 | 141 | 6/25/2026 |
| 1.2.0-beta.17760 | 16,656 | 6/18/2026 |
| 1.2.0-beta.17526 | 122 | 5/30/2026 |
| 1.2.0-beta.17509 | 142 | 5/29/2026 |
| 1.2.0-beta.16019 | 2,735 | 2/25/2026 |