Hi all,
Here is my situation, I have enabled AzureAD authentication on app, with App Registration and Delegated User.Read permission so only authenticated users can access it. As result I receive Headers with "X-MS-...."
From those headers and claims I know who is accessing my app but I want to get more info about user using Graph "/me/memberOf" endpoint.
So "on behalf" look like the right way to go, but it's not working.
In your example you use "Request.Headers.Authorization.Parameter; " which is empty in my case.
I have all the X-MS-.... but access-key that is in that header is not working.
From my side I have user info, I have clientId/Secret/TenandIt and X-MS headers, can I use on behalf without Authorization header?
Hi all, Here is my situation, I have enabled AzureAD authentication on app, with App Registration and Delegated User.Read permission so only authenticated users can access it. As result I receive Headers with "X-MS-...."
From those headers and claims I know who is accessing my app but I want to get more info about user using Graph "/me/memberOf" endpoint.
So "on behalf" look like the right way to go, but it's not working. In your example you use "Request.Headers.Authorization.Parameter; " which is empty in my case. I have all the X-MS-.... but access-key that is in that header is not working.
From my side I have user info, I have clientId/Secret/TenandIt and X-MS headers, can I use on behalf without Authorization header?