How can I create an Entra role without assigning any permissions?

0
16
Asked By CuriousCoder87 On

I'm working on an Azure static web app for a small non-profit and I want certain features to be accessible only to authorized users. Since they predominantly use Microsoft services, it seems logical to utilize Microsoft logins for managing permissions. I heard that I could set up an Entra role without granting any permissions, allowing my app to recognize logged-in users based on the role info in the header. However, the sysadmin is struggling to create a role without any assigned permissions, and since I don't have admin access, I'm looking for guidance to provide her with the necessary instructions. Is this approach a best practice?

4 Answers

Answered By QueryQueen27 On

Creating an Entra Group instead of a role might be simpler for managing users. Groups allow you to add users directly without the complexity of roles. However, it depends on your app's needs. If you’re not familiar with Entra, starting with groups could be a more straightforward path.

Answered By OldSchoolAdmin34 On

I get that the docs might look like a maze sometimes, especially with so many options under Entra. If you're feeling lost, I would recommend picking one area to explore at a time instead of trying to tackle everything at once.

Answered By LearnFromDocs99 On

It's best to dive into Microsoft’s Entra documentation. They provide extensive resources that clarify differences between roles and groups, making it easier for beginners to navigate. But it can feel overwhelming at first!

Answered By TechyTrails52 On

You can definitely create an Entra role without permissions. Check out the documentation on how to add app roles for a clear guide. It’s important to understand how roles work within your app, especially when considering user authentication and permissions handling.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.