Microsoft.Graph.Communications.Common 1.2.0.18774

Prefix Reserved
dotnet add package Microsoft.Graph.Communications.Common --version 1.2.0.18774
                    
NuGet\Install-Package Microsoft.Graph.Communications.Common -Version 1.2.0.18774
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.Graph.Communications.Common" Version="1.2.0.18774" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.Graph.Communications.Common" Version="1.2.0.18774" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.Graph.Communications.Common" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.Graph.Communications.Common --version 1.2.0.18774
                    
#r "nuget: Microsoft.Graph.Communications.Common, 1.2.0.18774"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Microsoft.Graph.Communications.Common@1.2.0.18774
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Microsoft.Graph.Communications.Common&version=1.2.0.18774
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.Graph.Communications.Common&version=1.2.0.18774
                    
Install as a Cake Tool

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 the ICommunicationsClient and the stateless NotificationProcessor paths: Unauthorized 401 with a WWW-Authenticate challenge, Forbidden 403 without a challenge, Transient 503 with Retry-After, Permanent 500. It reads None whenever IsValid is true and Unauthorized when IsValid is false and no kind was set, so a custom IRequestAuthenticationProvider that only sets IsValid = false still gets 401. IsValid and TenantId are 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-in DefaultInboundRequestValidator with options that the builder creates for its own app id and cloud, as new GraphAuthenticationOptions(appId, cloud) does; configure, when given, adjusts them once, before they are validated. Outbound requests are authenticated by outboundAuthenticator. BearerTokenAuthenticator adapts an ITokenProvider:
    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 new OutboundAuthenticationContext for each request; context.Tenant is 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: BearerTokenAuthenticator stops waiting for the token without cancelling the shared acquisition.
  • Hosts without an ICommunicationsClient that only validate notifications (a front end that forwards them to another process, or a stateless host) use new DefaultInboundRequestValidator(new GraphAuthenticationOptions(appId, cloud), logger) and its ValidateAsync(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 throws OperationCanceledException instead of returning a failed result, and a null request throws ArgumentNullException. A host with an ICommunicationsClient does not create a second validator: it uses AuthenticateNotificationAsync (below). When validation runs in another process, both processes share one Action<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);
    
  • DefaultInboundRequestValidator is IDisposable: dispose a validator you create when you no longer need it; each Build() creates its client's own validator, which the client disposes, so Build() can be called any number of times. ValidateAsync throws ObjectDisposedException after disposal, and a validation already in progress completes with its result.
  • Stateless hosts (no ICommunicationsClient) combine three parts: DefaultInboundRequestValidator for inbound, a GraphAuthClient created with the new constructor that takes an IOutboundRequestAuthenticator, for outbound, and NotificationProcessor. 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 (with Retry-After, which signals a retryable failure), 401 (with a WWW-Authenticate challenge) or, for a Permanent result of a custom provider, 500, like the stateful client. The SDK trusts the result as is. A GraphAuthClient created this way cannot validate inbound requests; its obsolete AuthenticationProvider.ValidateInboundRequestAsync throws InvalidOperationException.
    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, calls AuthenticateNotificationAsync(request, cancellationToken) (for example with the request's abort token) and then ProcessNotificationAsync(request, result), which answers a rejected request like ProcessNotificationAsync(request):
    var result = await client.AuthenticateNotificationAsync(request, cancellationToken);
    var response = await client.ProcessNotificationAsync(request, result);
    
    A cancelled authentication throws OperationCanceledException. A custom IRequestAuthenticationProvider takes 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 with Retry-After: 5 instead 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 without Retry-After. The built-in validator does not report it, since every remote dependency failure is transient; a custom IRequestAuthenticationProvider can report a local configuration problem that a retry cannot fix.
  • GraphAuthenticationOptions.MetadataHttpClient sets the HttpClient used 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.FailureReason describes why a request was not accepted, and AuditReason which 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 an AuthenticationCheck, that returns AuthenticationCheckMode.Audit to accept the request anyway, log a warning and report the failure in AuditReason, 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.AdditionalAudiences is 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.TrustedCallerAppIds is 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. ValidEntraIssuerPrefixes is a set pre-filled with the cloud's Microsoft Entra issuer prefixes and works the same way. Both sets ignore case.
  • SetAuthentication and the DefaultInboundRequestValidator constructor take a copy of the GraphAuthenticationOptions they receive, so changing the options afterwards, including options that configure kept, has no effect on them. GraphAuthenticationOptions.Validate() checks the options early (for example at startup) and throws what the validator constructor would throw, and new GraphAuthenticationOptions(other) copies options to derive a variant; the copy shares CheckMode and MetadataHttpClient.
  • GraphAuthenticationOptions is validated when SetAuthentication runs 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, and ValidEntraIssuerPrefixes and TrustedCallerAppIds must not be empty.
  • ParticipantExtensions.InviteAsync(this IParticipantCollection participantCollection, IEnumerable<InvitationParticipantInfo> participants, TimeSpan? timeout, CancellationToken cancellationToken = default) and ParticipantExtensions.InviteAsync(this IParticipantCollection participantCollection, IdentitySet identitySet, string replacesCallId, TimeSpan? timeout, CancellationToken cancellationToken = default) set how long InviteAsync waits for the invite operation to complete. null keeps the 30 s default; the timeout must be greater than zero and at most int.MaxValue milliseconds (Timeout.InfiniteTimeSpan is not supported), otherwise ArgumentOutOfRangeException is 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, so IParticipantCollection is unchanged and existing implementations and compiled callers keep working. A custom timeout applies to participant collections created by the SDK (ICall.Participants); on other IParticipantCollection implementations a null or 30 s timeout calls IParticipantCollection.InviteAsync(participants, cancellationToken) and any other value throws NotSupportedException.

Breaking Changes

  • GraphHttpClient no longer follows a redirect (3XX) response unless CustomRedirectUriGenerator is 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, set client.CustomRedirectUriGenerator = response => response.Headers.Location;. Clone() does not copy the generator. IGraphHttpClient.SendRawHttpRequestAsync no longer has a disableRedirect parameter. 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 underlying HttpClient returns: an HttpClient passed to the constructor keeps its handler settings, so set AllowAutoRedirect = false on its handler for the generator to apply. GraphAuthClient is unchanged with the HttpClient that GraphAuthClientFactory creates by default, whose handler follows redirects itself; with an HttpClient set through ICommunicationsClientBuilder.SetHttpClient whose handler has AllowAutoRedirect = 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: DefaultAuthenticationProvider and SetAuthentication(appId, tokenProvider) (first shipped in 1.2.0.17950), and the cloud-aware SetAuthentication overloads, CommunicationsClientBuilderExtensions, RequestValidationResult.IsAuthorizationFailure and the GraphAuthenticationOptions shape (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 uses SetAuthenticationProvider with its own IRequestAuthenticationProvider keeps compiling and working; see the entries below on the new obsolete diagnostics and on response status changes.
    • ICommunicationsClientBuilder has exactly one SetAuthentication(IOutboundRequestAuthenticator outboundAuthenticator, CommunicationsCloud cloud = CommunicationsCloud.Public, Action<GraphAuthenticationOptions> configure = null), which uses the builder's app id. It replaces SetAuthentication(string appId, ITokenProvider tokenProvider), so custom implementations of the interface must implement the new member.
    • DefaultAuthenticationProvider is no longer public. Inbound validation is the public DefaultInboundRequestValidator (ValidateAsync); outbound authentication is an IOutboundRequestAuthenticator.
    • builder.SetAuthentication(appId, tokenProvider) →
      builder.SetAuthentication(new BearerTokenAuthenticator(tokenProvider));
      
      The expected token audience is now the builder's app id. If the appId you passed differed from the builder's app id, add it in configure with options.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) (a CommunicationsClientBuilder method or a CommunicationsClientBuilderExtensions extension method, both removed) →
      builder.SetAuthentication(new BearerTokenAuthenticator(tokenProvider), CommunicationsCloud.Public);
      
      AzureCloudInstance.AzurePublic (or None) maps to CommunicationsCloud.Public, AzureChina to China, and AzureUsGovernment to GCCH or DoD, 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, an appId that differed from the builder's app id goes into options.AdditionalAudiences in configure.
    • GraphAuthenticationOptions has no parameterless constructor, and ValidEntraIssuerPrefixes and TrustedCallerAppIds are 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, so builder.SetAuthentication(appId, tokenProvider, options) with an object initializer new GraphAuthenticationOptions { EntraAuthorityUrl = ..., TrustedCallerAppIds = callerIds } → the same settings in configure:
      builder.SetAuthentication(new BearerTokenAuthenticator(tokenProvider), cloud, options =>
      {
          options.EntraAuthorityUrl = ...;
          options.TrustedCallerAppIds.Clear();
          foreach (var callerId in callerIds)
          {
              options.TrustedCallerAppIds.Add(callerId);
          }
      });
      
      Call Add without Clear() to trust app ids in addition to the cloud's; ValidEntraIssuerPrefixes works the same way. As above, an appId that differed from the builder's app id goes into options.AdditionalAudiences. Options for DefaultInboundRequestValidator are created with new 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 DefaultAuthenticationProvider combined with custom outbound code in your own IRequestAuthenticationProvider → implement IOutboundRequestAuthenticator and call SetAuthentication(outboundAuthenticator, cloud, configure) (stateful client) or pass it to the GraphAuthClient constructor that takes an IOutboundRequestAuthenticator (stateless), or keep your provider and delegate inbound validation to DefaultInboundRequestValidator.ValidateAsync.
  • Legacy OID bot notification tokens must now carry a trusted calling service app id (appid/azp in GraphAuthenticationOptions.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 custom IRequestAuthenticationProvider that rejects an authenticated caller for authorization reasons sets Failure = RequestValidationFailure.Forbidden to keep returning 403: IsAuthorizationFailure = true → Failure = RequestValidationFailure.Forbidden.
  • The GraphAuthClient constructor taking an IRequestAuthenticationProvider and the GraphAuthClient.AuthenticationProvider property are now [Obsolete] (GRAPHCOMM_AUTH_0001 on net8.0, CS0618 otherwise): use the GraphAuthClient constructor that takes an IOutboundRequestAuthenticator (wrap an ITokenProvider in a BearerTokenAuthenticator) and validate inbound requests with DefaultInboundRequestValidator. Both keep working. GraphAuthClientFactory follows suit: its constructor taking an IRequestAuthenticationProvider and its AuthenticationProvider property are [Obsolete] with the same diagnostic, and a new constructor takes an IOutboundRequestAuthenticator; a factory created with it exposes an AuthenticationProvider whose inbound validation throws InvalidOperationException. While both constructors of either type exist, a literal null or an argument that implements both interfaces is ambiguous (CS0121); cast it to the interface you mean.
  • ICommunicationsClient.AuthenticationProvider is now [Obsolete] with the same diagnostic: authenticate a notification with client.AuthenticateNotificationAsync(request, cancellationToken) and process it with client.ProcessNotificationAsync(request, result), and authenticate outbound requests with the IOutboundRequestAuthenticator passed to SetAuthentication. It keeps working.
  • SetAuthentication requires a non-null outbound authenticator and throws ArgumentNullException otherwise. 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 throws ArgumentOutOfRangeException for an undefined cloud and ArgumentException for invalid options, and an exception thrown by configure propagates; when it throws, the builder is unchanged.
  • Inbound bearer tokens that carry the Microsoft Entra xms_ds_cnf or xms_ds_nonce claim are now rejected in every build, like tokens with an RFC 7800 cnf claim (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 tid is 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 the InviteAsync(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 makes InviteAsync throw TimeoutException. The invitation is not cancelled: the invitee keeps ringing and the outcome still arrives through participant roster updates (IParticipantCollection.OnUpdated). Pass a longer timeout (see Features Added), or catch the TimeoutException and 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 ValidateAsync ends only that request's wait. Microsoft Entra tokens do not wait.
  • GetAsync on a stateful collection (for example ICall.Participants.GetAsync) no longer throws ArgumentException ("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 by GetAsync now updates it instead of failing because the resource already exists. During this race GetAsync can 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 and AddAsync can still fail with resourceAlreadyExists in the same race.

Other Changes

  • The INotificationProcessor.ProcessNotificationAsync overload taking a validation callback (NotificationProcessorExtensions) stays [Obsolete], with a new message: call ValidateAsync on a DefaultInboundRequestValidator and pass the result to ProcessNotificationAsync(request, RequestValidationResult), or use ICommunicationsClient.ProcessNotificationAsync(HttpRequestMessage), which authenticates internally.
  • INotificationProcessor.ProcessNotificationAsync(request, tenant), INotificationProcessor.ProcessNotifications and ICommunicationsClient.ProcessNotifications document 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.ValidateInboundRequestAsync documentation describes the response to a rejected request by RequestValidationResult.Failure: 401 for Unauthorized (also when no kind is set), 403 for Forbidden, 503 with Retry-After for Transient, and 500 for Permanent.
  • Common, Core, Client, Calls and Calls.Media now all ship lib/net10.0 next 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 only Calls.Media did. The net10.0 dependency groups omit packages that .NET 10 itself provides (such as System.Net.Http and System.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 automaticDecompression parameter to GraphHttpClient for opt-in GZip/Deflate response decompression, plus Brotli on .NET 6 and later. It defaults to None; the original constructor signature and caller-supplied HttpClient settings remain supported (with a supplied client, automaticDecompression is ignored and a warning is logged).
  • Cloud-aware inbound authentication: new SetAuthentication(appId, tokenProvider, AzureCloudInstance) and SetAuthentication(appId, tokenProvider, GraphAuthenticationOptions) overloads let bots validate notifications in sovereign clouds (US Gov, China) instead of assuming public cloud. They are instance methods on CommunicationsClientBuilder and extension methods on ICommunicationsClientBuilder (CommunicationsClientBuilderExtensions), so existing implementations of the interface are unaffected. Unsupported AzureCloudInstance values (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 a WWW-Authenticate challenge instead of 401.
  • Hardened inbound token validation: signing-algorithm pinning, signing-key issuer validation, iss/tid binding, and an allowlist of trusted calling service app ids.
  • Added x-microsoft-bot-auth-type and x-microsoft-bot-sdk-version response headers on authenticated notification responses.
  • Microsoft.Graph.Communications.Client now also targets net8.0.
  • Microsoft.Graph.Communications.Common now also targets net8.0. net8.0 apps get this build, so GraphHttpClient uses SocketsHttpHandler.

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 6750 WWW-Authenticate challenge. Custom IRequestAuthenticationProvider implementations that reject an authenticated caller for authorization reasons should set IsAuthorizationFailure = true to keep returning 403.
  • The ProcessNotificationAsync overloads taking a RequestValidationResult or a validation callback are now [Obsolete]; use ICommunicationsClient.ProcessNotificationAsync(HttpRequestMessage), which authenticates internally. Suppress with CS0618 if you need to defer the migration.
  • On net8.0, the obsolete ICommunicationsClientBuilder.SetAuthenticationProvider now reports diagnostic GRAPHCOMM_AUTH_0001 instead of CS0618, so existing CS0618 suppressions no longer silence it. Migrate to SetAuthentication, or suppress GRAPHCOMM_AUTH_0001 to defer the migration.
  • The net8.0 build of Microsoft.Graph.Communications.Common omits the CollectionUtils.GetValueOrDefault(this IDictionary<TKey, TValue>, ...) extension methods. On net8.0, calls on a Dictionary<TKey, TValue> or IReadOnlyDictionary<TKey, TValue> bind to the BCL GetValueOrDefault with the same behavior, while calls on an IDictionary<TKey, TValue> no longer compile; use TryGetValue instead. Assemblies already compiled against the netstandard2.0 build that call these methods throw MissingMethodException in a net8.0 app and must be rebuilt without those calls (for example, using TryGetValue).
  • DefaultAuthenticationProvider constructors and the SetAuthentication overloads now require a non-null ITokenProvider and throw ArgumentNullException otherwise. 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 cnf claim) 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 are https://login.partner.microsoftonline.cn/{tenant}/v2.0 (v2) and https://sts.chinacloudapi.cn/{tenant}/ (v1), the issuers Microsoft Entra in Azure China actually uses. login.chinacloudapi.cn is still accepted as an authority URL in GraphAuthenticationOptions.

Other Changes

  • ICommunicationsClientBuilder.SetNotificationUrl and SetServiceBaseUrl now report the offending URL's scheme and host and set ArgumentException.ParamName when 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 to ParamName.

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.Calls and Microsoft.Graph.Communications.Calls.Media now also target net8.0 (in addition to net472 and net6.0).
  • Microsoft.Graph.Communications.Calls.Media added 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 DefaultAuthenticationProvider and ICommunicationsClientBuilder.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.SetAuthenticationProvider is now [Obsolete] (CS0618); use SetAuthentication(appId, tokenProvider) instead.
  • Upgrade Microsoft.Identity.Client (MSAL) from 4.73.1 to 4.83.1.
  • Microsoft.Graph.Communications.Core added 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.Client and Microsoft.Graph.Communications.Calls. net472 bots may need to update binding redirects.
  • Microsoft.Graph.Communications.Core and Microsoft.Graph.Communications.Common now 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.Media added 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Microsoft.Graph.Communications.Common:

Package Downloads
Microsoft.Graph.Communications.Core

Microsoft Graph Communications Client Core Library - This library builds on the Microsoft.Graph SDK to provide better support for the Communications APIs.

TComp.Sepg.MCVRelEng

Package Description

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,125 10/30/2026
1.2.0.18736 20,802 9/28/2026
1.2.0.18725 4,246 9/3/2026
1.2.0.17950 47,572 7/2/2026
1.2.0-beta.18774 0 12/3/2026
1.2.0-beta.18742 92 10/30/2026
1.2.0-beta.18736 111 9/28/2026
1.2.0-beta.18725 107 9/3/2026
1.2.0-beta.18596 169 8/6/2026
1.2.0-beta.18480 134 7/30/2026
1.2.0-beta.18470 145 7/29/2026
1.2.0-beta.18438 114 7/28/2026
1.2.0-beta.18376 262 7/24/2026
1.2.0-beta.17950 137 7/2/2026
1.2.0-beta.17851 155 6/25/2026
1.2.0-beta.17760 16,655 6/18/2026
1.2.0-beta.17526 152 5/30/2026
1.2.0-beta.17509 137 5/29/2026
1.2.0-beta.16019 2,744 2/25/2026
Loading failed