question

LuisGuzman-8849 avatar image
0 Votes"
LuisGuzman-8849 asked ·

Removing Azure AD authentication from ASP.Net MVC web application

A few months ago I created a small web application in ASP.NET MVC, I got it to work with Azure AD Authentication, and users were able to login with their Office 365 credentials. Now I need to strip the application of the Azure part and have it run without the user needing to login, I have commented or removed all the stuff that is added according to this link:

https://docs.microsoft.com/en-us/azure/active-directory/develop/vs-active-directory-dotnet-what-happened


But the application stills fails with You do not have permission to view this directory or page when loading my "Home/Index" page, has anyone done this before?


Thanks!

azure-active-directorydotnet-aspnet-generaldotnet-aspnet-mvc
· 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.

Hi @LuisGuzman-8849,
According to the link you provided, I want to confirm with you, have you deleted the [Authorize] attribute in Home/Index?
If you do not delete the [Authorize] attribute, this problem will occur.

0 Votes 0 ·

0 Answers