question

kiril avatar image
0 Votes"
kiril asked bhargaviannadevara-msft answered

How to allow web app access only for users from organization (tennant)?

I want to build a web app, which will be accessible only by users from our tennant. Basically, every user in our tennant is able to access the web app. What would be the approach to restrict access in such a way?

azure-webapps
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

To follow-up, Please let us know if you have further query on this.
Please don’t forget to Accept the answer

0 Votes 0 ·

Hello @kiril!


Hope you are having a great day!

Do the suggestions above help? If the issue has been resolved, please click “Accept as answer” to mark the helpful reply as an answer, this will make answer searching in the forum easier and be beneficial to other community members as well.

If you are still stuck in this issue, please feel free to post your questions.

Regards,
Tasadduq



If the response is helpful, please click "Accept Answer" and "Upvote" it.

0 Votes 0 ·
learn2skills avatar image
0 Votes"
learn2skills answered learn2skills edited

Hi @kiril

You can enable authentication for your web app running on Azure App Service and limit access to users in your organization.

App Service provides built-in authentication and authorization support, so you can sign in users and access data by writing minimal or no code in your web app. Using the App Service authentication/authorization module isn't required, but helps simplify authentication and authorization for your app.

More details refer
Add authentication to your web app running on Azure App Service



If the Answer is helpful, please click Accept Answer and up-vote, so that it can help others in the community looking for help on similar topics.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

bhargaviannadevara-msft avatar image
0 Votes"
bhargaviannadevara-msft answered

@kiril Adding to what @learn2skills had mentioned above, please know that you can integrate with multiple login providers as well. App Service uses federated identity, in which a third-party identity provider manages the user identities and authentication flow for you.

The following identity providers are available by default: Microsoft Identity Platform, Facebook, Google, Twitter or any OpenID Connect provider (preview). When you enable authentication and authorization with one of these providers, its sign-in endpoint is available for user authentication and for validation of authentication tokens from the provider. You can provide your users with any number of these sign-in options.

For understanding the AuthN/AuthZ architecture and workflows in Azure App Service, please refer to this article: Authentication and authorization in Azure App Service.

Hope this helps. Do let us know if you have further questions.



If an answer is helpful, please "Accept answer" and/or "Up-Vote" which might help other community members reading this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.