question

Azurebegginer avatar image
0 Votes"
Azurebegginer asked ·

Azure AD SSO - How to enable

Hello,

I am planning for multple web apps using Azure AD and wanted to know how do I enable SSO for these apps.

Please guide

azure-active-directoryazure-ad-authentication
10 |1000 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.

soumi-MSFT avatar image
1 Vote"
soumi-MSFT answered ·

@NeerajV-6011, Thank you for reaching out. So to start with the WebApps and get it protected by AAD, let me walk you through some of the details.

When you plan to develop an web application and publish it as WebApps and get users from AAD to access it, in that case, you would have to use OAuth2.0 or SAML as one of the protocols for the authentication and authorization part. Also, you would have to make your application know to AAD, and you do that by creating an app registration. Creating an application registration, makes AAD trust you application. You can find more details on how to perform app registrations here.

Now lets say, you are using OAuth as the protocol in your web application and in that case you would have to implement OAuth protocol in your application by one of the libraries like MSAL (Microsoft Authentication Library) and based on the language you used to code your webapp, you would find a suitable version of the MSAL library for that language. This library takes care of the SSO.

I would like to share some sample applications, and you can go through the links and that would get you an idea as how to perform the App Registrations for those applications. How OAuth helps in authorizing the users and what type of configuration can be made for the web application to work with AAD with SSO.

Add sign-in to Microsoft to an ASP.NET web app: https://docs.microsoft.com/en-us/azure/active-directory/develop/tutorial-v2-asp-webapp

Hope this helps.

Do let us know if this helps and if there are any more queries around this, please do let us know so that we can help you further. Also, please do not forget to accept the response as Answer; if the above response helped in answering your query.


·
10 |1000 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.

Azurebegginer avatar image
0 Votes"
Azurebegginer answered ·

Great Saumi. One of the best answer I got in this forum. Much appreciated.

How can I post a direct question to you? I may have these basic questions more as I am from Infra background. My questions may be very simple for you

· 1 ·
10 |1000 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.

@NeerajV-6011, I am glad that the explanation helped you in understanding the steps and also I am glad you can now proceed armed with details for your project ahead. You can surely reach out to me directly on our official DL i.e azcommunity[at]microsoft[dot]com and share my name reference. But a direct email there on that DL might get missed out since a lot of emails keeps coming into that DL.

Best way, what I can suggest is that, create a thread in Microsoft Q&A and then you can drop an email on that DL with the reference of that thread's URL so that its eaiser for me to identity and help you, also once the thread is created an answered, it would help many others who might have similar or somewhat similar issues with AAD app registrations or WebApps in general.

Hope this helps and stay safe and happy learning.

0 Votes 0 ·