Restrict users to access Web App hosted on Azure

Copper Contributor

Hi All,


I am new to azure and need help.

I have created a Web Application in .Net and hosted on Azure and currently it can access by anyone in the organization, I want to restrict users to access the application.



Vikas Deshmukh



1 Reply
Hi Vikas,

I'm assuming everyone in your organisation has an AD login, if so you can do this by turning on authorisation and then assigning users to the app.

First you will need to enable authentication for your Web App if you haven't already done so:
Once this is setup, all users in your organisation will need to login to access the application.

The next step is to restrict users, you can do this using the "Assignment required" option in the Enterprise Application which is created when you enabled AD authentication, and then assigning users/groups to that app. Some details here:

Hope this helps.