We have a web application (ASP.NET MVC) installed on IIS for one of our clients with Windows Authentication enabled.

The authentication is working perfectly but the problem is at the authorization level. The authorization type is role-based authorization.

So we have three levels of authorization: MISV_Administrator MISV_Normal MSIV_Readonly

If we create these groups locally on the same machine where IIS and our web application are installed and assigns domain users to them then the users are able to access our application. But if we create these same groups in the active directory as domain global groups and assigns the users to these ones instead then now the users receive an unauthorization error.

Both machine, the Active directory server and the IIS server are on the same domain.

So I don't understand why it's working locally but not with the global group?

  • Are you specifying: <allow roles="DOMAIN\SecurityGroupName" /> – Greg Askew Jun 15 '15 at 17:52
  • @GregAskew No I didn't define that settings in the web.config – Francis B. Jun 15 '15 at 18:32
  • 1
    If you aren't using the IIS role provider you need to contact the developer of the application. Or you could just add the domain groups to the local groups and be done with it. – Greg Askew Jun 15 '15 at 18:42

It is likely your application is explicitly looking for those groups on the local machine rather than the domain. If you wrote the application, you need to fix it. Otherwise, contact the application vendor.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.