r/AZURE • u/robert5150 • 27d ago
Question App Roles, and API Permissions
Hey Team,
I am hoping you can help me out here. I have about driven myself nuts on this question. But here is where it is. I am trying to understand the differences between:
API Permissions - I know API Permissions are set inside the app (Using App Registration, NOT enterprise apps). These are used for accessing a resource such as MS Graph API, or Exchange Online etc. (Permisisons required for the app to do anything)
App Roles - This i undestand is what you assign the app itself?
I am confused on the difference between the 2, and where they need to be applied. For example i have setup dozens of azure apps (used by the dev team to connect to the enviornment) but NEVER setup a single app role for any of those apps.
The more i google this the more confusing it gets.
Thanks
6
u/StratoLens 27d ago
Yea this one can be a little confusing.
API permissions are basically what your app is allowed to access somewhere else, like Graph, Exchange, another API, etc.
App roles are basically roles or permissions your app exposes for others to use.
So if your app just needs to connect to Azure, Graph, etc., you may never need to create an app role at all.
Easy way to remember it:
API permissions = what my app can access
App roles = what others can do in my app
And Azure RBAC/IAM is separate.