Try our conversational search powered by Generative AI!

System.Security.Principal.IdentityNotMappedException thrown for some users of our intranet



I have recently been alerted that some people can't access the Intranet of our company, they just get "page could not be loaded" in the browser.

After checking with one of the affected accounts in a browser directly on the server, I got the exception details, it turns out to be a
System.Security.Principal.IdentityNotMappedException. Thrown directly after a call to System.Security.Principal.Securityidentifier.Translate.

After a long time comparing AD users and groups and so on I discovered that all of the affected users was members of the same active directory group( they are infact members of several groups, but this was the only common one), lets call it:

When I remove a user from this group they can now access the Intranet and when I put them back in the group they again cannot access the Intranet. Same story if I add a previously unaffected user to that group, they can no longer access the Intranet.

In additon of being an Intranet built on the .NET plattform it is an EpiServer Relate+ product, but it seems to be .NETs method that throws the exception and it only affects members of this group.

Has anyone heard of anything like this before?
I'm totally lost...

Please let me know what info I can provide to help you find out the cause of this problem

Many thanks!


Nov 19, 2013 12:19
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.