Share via

Client secrets are blocked by a tenant-wide policy. Contact your tenant administrator for more information.

Oliver Geissler 5 Reputation points
2026-03-03T18:16:09.1333333+00:00

We are unable to create a client secret for an app registration.

Error: Client secrets are blocked by a tenant-wide policy. Contact your tenant administrator for more information.
Where can it be configured?

Thx for help
Oliver

Azure App Configuration
Azure App Configuration

An Azure service that provides hosted, universal storage for Azure app configurations.

{count} votes

1 answer

Sort by: Most helpful
  1. Q&A Assist
    2026-03-03T18:16:21.25+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The error is caused by a tenant-wide application management policy in Microsoft Entra ID that blocks adding client secrets (password credentials) to applications.

    This setting is configured in the Microsoft Entra admin center under app management policies, or via Microsoft Graph:

    1. An admin with one of these roles must make the change:
      • Security Administrator and Cloud App Administrator or Application Administrator, or
      • Global Administrator.
    2. The relevant restriction is passwordAddition (and typically also symmetricKeyAddition) in the tenant-wide default app management policy. When configured to block, the portal shows “Client secrets are blocked by a tenant-wide policy”.
    3. To adjust this, the admin can either:
      • Use the Microsoft Entra admin center (App management policy UX) to change the Block password addition setting, which controls passwordAddition and symmetricKeyAddition, or
      • Use Microsoft Graph (beta) to update the defaultAppManagementPolicy so that passwordAddition (and, if desired, symmetricKeyAddition) no longer block new secrets.
    4. After updating the policy, confirm it is applied by:
      • Reading the default app management policy again and verifying the updated restrictions, and/or
      • Trying to create a new application secret; the operation should now succeed if the restriction has been relaxed.

    If the policy must remain strict tenant-wide, a custom app management policy can be created and assigned to specific applications to exempt them from the restriction.


    References:

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.