How to create client apps with pre-consented app roles

Miklos Szots 0 Reputation points
2024-08-29T15:34:36.3166667+00:00

Hi,

I have a service app to which I want to provision clients on demand.

Some clients are regular, but some have elevated access. We could call these Client and AdminClient.

Now I could model this with either permissions/scopes or app roles but in either cases it seems to be impossible to automatically grant consent to this client apps so that an admin doesn't have to go and do that manually.

My client app creator could of course have the appropriate permission to consent these scopes/roles but that's for the whole tenant, which wouldn't be great from an organisational point of view.

What's the best practice here? Avoid Entra Id for service to service authz use cases , or?

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,092 questions
0 comments No comments
{count} votes

Your answer

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