Question
I am testing AAD feature. I tried logging out then logging in, but I get this error.
I signed in as an Identity Cloud user.
Answer
There are 2 points. One, Identity Cloud User is not AAD User. This feature allows users who are coming from other Directory Services to sign in to our Services. That means the user authentication should be forwarded to Identity Provider which is Azure (Microsoft) in your case because Microsoft Azure Active Directory (AAD) is to store and manage your user information. Please refer to the page below.
https://docs.cyberark.com/Product-Doc/OnlineHelp/idaptive/Latest/en/Content/CoreServices/UsersRoles/DirectoryServiceAdd.htm#AddAzureActiveDirectoryasadirectoryservice
Here are the example settings, user from idpsupport23.net should be the one who will get redirected to Microsoft. You can enter "
[email protected]" on the username field on the Idira Identity login page. It will redirect to Microsoft for user authentication.

Second, the error AADSTS700054 from Microsoft is referring to some configurations that are missing on the Microsoft page. Please go to Azure Active Directory and choose App Registrations. Open up the app registration and choose Authentication on the left. You will find the "Implicit grant and hybrid flows" session, please ensure the box "ID tokens" is enabled. Please contact Microsoft if the above does not resolve the error.