{"id":7113,"date":"2020-04-29T19:42:30","date_gmt":"2020-04-29T19:42:30","guid":{"rendered":"https:\/\/blogs.aaddevsup.xyz\/?p=7113"},"modified":"2020-04-29T19:42:33","modified_gmt":"2020-04-29T19:42:33","slug":"control-access-to-your-apps-in-azure-ad","status":"publish","type":"post","link":"https:\/\/blogs.aaddevsup.xyz\/2020\/04\/control-access-to-your-apps-in-azure-ad\/","title":{"rendered":"Control access to your apps in Azure AD"},"content":{"rendered":"\n

We get this kind of question all the time. It comes in many variations and forms like\u2026<\/p>\n\n\n\n

“I only want to consent for some users to access the app.”<\/p>\n\n\n\n

“I only want my service account to access this app”<\/p>\n\n\n\n


\n\n\n\n

Before we get started\u2026<\/h2>\n\n\n\n

First and foremost, only consenting for allowed users is not the solution. This is not the purpose for consent. Consent is to inform a user or admin what the application is accessing and to give the user or admin an option to accept or deny the requested permissions. Administrators should not be using this to determine who has access to an application. Once the permissions are consented, then we will only allow the app to access the requested permissions and no more.<\/p>\n\n\n\n

For more information about the Azure AD Consent Framework\u2026<\/p>\n\n\n\n

https:\/\/docs.microsoft.com\/en-us\/azure\/active-directory\/develop\/consent-framework<\/a><\/p>\n\n\n\n


\n\n\n\n

Let’s get started\u2026<\/h2>\n\n\n\n

If you want to control access to an application, then you should be enabling the requirement of user assignment on the Enterprise application then assign the user, group, or service principal to the application.<\/p>\n\n\n\n

First: Perform admin consent<\/h3>\n\n\n\n

Make sure an administrator has performed an Admin consent on the required permissions. This is a requirement in order to restrict user access. Otherwise, you will see various consent related messages or you need admin approval.<\/p>\n\n\n\n

For troubleshooting consent issues, see the following article…<\/p>\n\n\n\n

\n
Troubleshooting consent in Azure AD<\/a><\/blockquote>