Microsoft Entra ID
Developer

Restrictions on identifier URIs of Microsoft Entra applications

In brief

The documentation replaces script-based instructions with Microsoft Entra admin center steps to review and manage identifier URI restrictions, including status, scope, enforcement/report mode, and exceptions.

What Entra admins need to know

Administrators can use Application policies in the admin center to check policy state and manage protections or scoped exceptions.

This editorial summary was generated by AI from the documentation changes. Verify important details in the full Microsoft Learn article.

Documentation change

The comparison below shows only the changed extract. Use the full-page view for complete context.

Enabling and managing the policy

Microsoft maymight have already enabled this policy in your organization to improve its security. Check its configuration in the Microsoft Entra admin center:

  1. Open Application policies in the Microsoft Entra admin center. You can check by running this scriptalso browse to Entra ID > Enterprise apps > Application policies.
  2. Under Identifier URI restrictions, select Block identifier URIs without unique tenant identifiers. This setting corresponds to the uriAdditionWithoutUniqueTenantIdentifier restriction.
  3. Review Status to see whether the policy is on. Review Applies to, any exclusions, and Only apply to apps created after to understand its scope.

If Mode is shown, Enforce mode (block operations) enforces the restriction, while Report mode (log but don't block) only logs operations.

Even if Microsoft enabled the policy inpolicy, your organization, a tenant administrator still has fullretains control over it. They can grant exemptionsUse the Microsoft Entra admin center instructions in Configure app management policies, including its prerequisites. Select Block identifier URIs without unique tenant identifiers when following those instructions:

To disable the protection, set Status to another user in the organization, or to any service or process the organization uses. Or, an administrator can disable the policyOff and save your changes (not recommended). Prefer a scoped exception for a blocked business scenario.

Microsoft won't enable the policy in your organization if it detects your organization has processes that might be disrupted by the change. Instead, anAn administrator in your organization can enable it themselves (recommended).enable it using the same admin-center instructions.

Guidance for developers

:::image type="content" source="media/identifier-uri-restrictions/update-access-token-version-cropped.png" alt-text="Screenshot of update token version experience." lightbox="media/identifier-uri-restrictions/update-access-token-version.png":::

However, you should **proceed with caution when making this change**. This is because once the app has been updated to the v2.0 token format, it won't be able to switch back to v1.0 tokens if it has noncompliant identifier URIs configured, unless it's been granted an exemption (see option 3).
  1. If you need to add a noncompliant identifier URI to your app before you're able to update to the v2.0 token format, you can requestask your administrator to grant your app an exemptiongrant your app an exception using the Microsoft Entra admin center. For this policy, select Block identifier URIs without unique tenant identifiers.

Additional security settings

  • The identifier URI being added to the app is one of the 'default' URIs, meaning it is in the format of api://{appId} or api://{tenantId}/{appId}
  • The app accepts v2.0 Entra tokens. This is true if the app's api.requestedAccessTokenVersion property is set to 2.
  • The app uses the SAML protocol for single sign-on (SSO). This is true if the service principal for the app has its preferredSingleSignOnMode property set to SAML.
  • An exemptionadministrator has been granted by an administrator to the app the URI is being added to,exception to the app, or to the user or service performing the addition.user or service performing the addition.

Once this protection is enabled, if anyone in your organization attempts to add a custom identifier URI to a v1 application, they'll receive an error like:

This more restrictive policy can help protect your organization from common token validation errors in the audience claim. We recommend enabling it if possible, but Microsoft won't enable it on your behalf.

To enablecheck or manage this more restrictive policyrestriction, open Application policies in the Microsoft Entra admin center. Under Identifier URI restrictions, select Block custom identifier URIs. Review Status and the scope settings as described in your organization, you can run this scriptEnabling and managing the policy.

LikeFollow the other policy, administrators can also grant exemptionsMicrosoft Entra admin center instructions to enable the restriction, grant an app an exception, or grant a user or service an exception. Select Block custom identifier URIs for this policy, or disable it after it's been enabled.restriction. To disable it, set Status to Off and save your changes (not recommended).

FAQ

How do these policies work?

The enforcementsrestrictions are turned on by configuring anconfigured through your organization's app management policiesapp management policies. A tenantAn administrator can check their status, turn itthem on or off. Microsoft is enabling it by default in some organizations during the months of Juneoff, and July 2025.

Learn how to check if the protection has been enabled in your organization

Even though Microsoft is enabling this setting by default, tenant administrators retain control over it. They can turn it on, off, or grant exceptions in Application policies in the Microsoft Entra admin center.

For the policy names and where to it.check their configuration, see Enabling and managing the policy and Additional security settings.

Why am I hitting this error when configuring my SAML application?

Daily Entra.News

Get daily email updates

Get a concise summary of the latest Microsoft Entra updates delivered straight to your inbox.

Loading the secure signup form…