You can assign following:
Why is App Roles missing?
I have created a new Azure test account and following the instructions found at https://learn.microsoft.com/en-us/answers/questions/1275119/how-do-i-protect-web-api?source=docs.
Created Azure Active Directory with B2C. I then tried to create a New App Registration which was done. Next i want to add a Client Secret - Done.
I now need to add an App Role but i dont have the option. I have Global Admin rights
There is no option on the left
Searched for it manually but nothing listed. I tried to enter it manually in the manifest file and received
What would i need to do in order to register an application for oauth2 so i can secure it therefore any calls made to it would require credentials to access the data? Its for a WebAPI Core application running on .Net 6.
Thanks
Developer technologies ASP.NET ASP.NET Core
Microsoft Security Microsoft Entra Microsoft Entra ID
Developer technologies C#
2 answers
Sort by: Most helpful
-
Andy David - MVP 157.4K Reputation points MVP Volunteer Moderator
2023-05-09T16:22:27.7866667+00:00 -
Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
2023-05-09T18:13:24.9133333+00:00 B2C tenant apps do not support app roles. This makes sense, as B2C has no control of the users profile data, there is no way to assign roles to users. You use scopes to define permissions with a B2C application.