简体   繁体   中英

How to display user defined message who are restricted at Azure AD Enterprise Application level + ASP.Net Core

I am restricting the users to login my ASP.Net Core (2.1) application which is deployed in Azure as described in the below link.

https://www.c-sharpcorner.com/article/how-to-restrict-users-from-accessing-the-azure-app-service-with-azure-ad-authent/

It is not allowing the users who are not assigned. But it is throwing as error. Please anyone tell me how to show custom message / view for handling this issue.

It is not possible to custom the error, the error message will be returned back to the AD App directly, it is not an error displayed on the login page which you can deal with it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM