DEV Community

Discussion on: Using Spring Security with Azure Active Directory

Collapse
 
wimdeblauwe profile image
Wim Deblauwe

Is it correct to state that this only works because the default role in Azure AD is 'User' and in Spring it is 'ROLE_USER' ? What if I create a 'ROLE_ADMIN' in my Spring Boot app? Do I need to use Azure AD Premium P1 or P2 to be able to do that? Or is it possible in the free version as well?

Collapse
 
jdubois profile image
Julien Dubois

Oh yes, this works because we have the same roles, and I also think that those can only be modified in the premium tier, at least for now. I'm not an expert in those tiers, so I can't tell you if there's a trick to do it for free.

Collapse
 
joshuaoh profile image
YOH • Edited

Declaring app roles using Azure portal for free

docs.microsoft.com/en-us/azure/act...

stackoverflow.com/questions/556090...