Share via

Trying to register a new application, getting "Client secrets are blocked by a tenant-wide policy. Contact your tenant administrator for more information.

Kamal Mikhail 0 Reputation points
2026-03-18T12:03:37.36+00:00

We have Azure non-profit sponsorship.

Trying to create a new app registration with client secret credential, getting error "Client secrets are blocked by a tenant-wide policy. Contact your tenant administrator for more information."

I am the tenant administrator.

Where can I check policies and update them?

Microsoft Security | Microsoft Entra | Microsoft Entra ID

1 answer

Sort by: Most helpful
  1. Sridevi Machavarapu 27,070 Reputation points Microsoft External Staff Moderator
    2026-03-18T12:47:08.4266667+00:00

    Hello Kamal Mikhail,

    This error is expected when a policy in your tenant is blocking the creation of client secrets. It’s not related to the app registration itself, but to an application policy applied at the tenant level.

    You can check and update this in the Microsoft Entra admin center:

    • Go to Entra ID → Enterprise applications → Application policies
    • Under Password restrictions, look for Block password addition User's image
    • If this is enabled, it prevents creating new client secrets
      User's image
    • You can disable or adjust this setting based on your requirement

    User's image

    If the setting is enabled, that’s what triggers the error:

    “Client secrets are blocked by a tenant-wide policy”

    Also, if you don’t see it clearly in the portal or want to confirm, you can check the tenant policy using Microsoft Graph:

    GET https://graph.microsoft.com/v1.0/policies/defaultAppManagementPolicy
    

    If the policy is enabled with a restriction like passwordAddition, client secrets are blocked tenant wide.

    This behavior is common in secured tenants (including some non-profit subscriptions), as Microsoft recommends avoiding client secrets due to security risks. If possible, consider using certificates or managed identities instead.

    Hope this helps! Feel free to reach out for further queries.

    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.