Hi,
I have managed to get this to work fine when users can consent, however, when the admin consent request is enabled i keep getting the following after it's been approved and redirected. (Rewrite is correct on Apache2 and working)
This is returned from Azure.
=AADSTS65004%3a+User+declined+to+consent+to+access+the+app.
Ive tried the fixes mentioned above:
- grant admin consent twice, once on the API Permissions and again under Enterprise Applications > click app > click Permissions > grant admin consent.
However, the same occurs.
I've just tried this on a separate tenancy's with the same admin flow to replicate the issues and I see the same.
Has anyone else seen this or have any insight to get this to work?
I can of course give that user admin rights and it succeeds but I cannot do this in a production environment.
Thanks.
SC