Does anyone know how to connect an MVC 5 application in Visual Studio 2013 to an Azure Access Control Service(ACS)? In Visual Studio 2012 it's possible to do this in Identity and Access Tool, but there is no such in Visual Studio 2013.
Thank you in advance for any help you can provide,
/Steve
Unfortunately, there's no way that I know of to add authentication to a VS2013 project after you've created it, but you can add it on project creation.
Create an ASP.NET project and then click "Change Authentication" when it prompts you to select a template.
You then want to choose "Organizational Accounts" and choose "On-Premises" from the drop-down menu. I know ACS isn't what you were normally think of as "on-premises" but that's what you want. Then enter your metadata document URL. You can leave the other spot blank or fill it in if you want. The metadata document URL is the FederationMetadata.xml
file found in the ACS management portal under "Application integration."
Once you set that up, you may need to adjust your Web.config audience URLs to make everything match what you have in the Azure ACS.
Encountered the same problem. Was always returned back to "Configure Authentication". So I tried creating a new user in Azure Active Directory and made it a global administrator with the type New user in your organization. I tried the new user account and it worked. Hope this helps you also.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With