Invite users to access your API Portal and manage their roles.
Procedure
In Azure Static Web Apps, open your API Portal app and go to Settings > Role management.
Click the Invite button.
Select Azure Active Directory in the
Authentication provider field and enter the user's
email address.
Enter the name of the relevant custom role(s), as defined in
staticwebapp.config.json.
In this example, you have the api_developer custom role.
Click Generate.
Share the invite link provided with the corresponding user.
Results
Once the user uses the invite link, they will be able to log in and will be prompted
to grant access to their email address and username. After that they will be able to see
the pages accessible to them depending on their role.
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!