We currently have two domains in our environment, lets say DomainA and DomainB. Users have IDs in both domains. Userids in DomainA have been given access to our new SharePoint 2016 environment. The site is in the intranet zone in the browser.
If a user is logged into his environment with his DomainB login and navigates to the sharepoint site he gets the Access Denied page.
I need to enable the user to enter credentials and log in with his DomainA id. Is there a way to add a 'Log in as different user' functionality to the AccessDenied.aspx.