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

Kiril 96 Reputation points
2021-09-02T12:46:54.87+00:00

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 App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,956 questions
{count} votes

Accepted answer
  1. SUNOJ KUMAR YELURU 13,946 Reputation points MVP
    2021-09-02T13:50:11.887+00:00

    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.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. BhargaviAnnadevara-MSFT 5,456 Reputation points
    2021-09-15T10:18:43.717+00:00

    @Kiril Adding to what @SUNOJ KUMAR YELURU 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.

    1 person found this answer helpful.
    0 comments No comments