K2 Mobile Authentication error with AAD: "You can't access this application"
kbt139601
PRODUCTIssue
When using AAD to authenticate the K2 mobile app, after authentication you will see an error:
"You can't access this application"
At the bottom of the screen, you will see the text:
"AADSTS90094: The grant requires admin permission"
Symptoms
Please check that your credentials and setup is as shown here:
Resolution
For all users to make use of the "admin consent" permissions, they have to be directed to a new sign in page with the parameter "prompt=admin_consent" set in the query. The admin consent url is exactly the same as the authorization url but has "&prompt=admin_consent" appended to the end.
Additional information can be found here: