-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
Category
- Question
- Typo
- Bug
- Additional article idea
Expected or Desired Behavior
When using the MSGraphClient as guest user, it should return data
Observed Behavior
When using a guest account to call the /users endpoint, i get the following error
"Error: AADSTS50058: A silent sign-in request was sent but none of the currently signed in user(s) match the requested login hint.
Trace ID: b69ceeca-9d68-433a-9263-482773fa1a00
Correlation ID: af8b56b0-c4d9-491a-bf2d-11a89fdaafe9
Timestamp: 2019-04-02 12:29:49Z
at Array. (https://spoprod-a.akamaihd.net/files/sp-client-prod_2019-03-15.008/sp-webpart-workbench-assembly_en-us_e89df8408f4d327c94e46017237276f5.js:1064:34992)
at _callBackMappedToRenewStates.(anonymous function)._callBackMappedToRenewStates.(anonymous function) (https://spoprod-a.akamaihd.net/files/sp-client-prod_2019-03-15.008/1.sp-http-adal_c2097657830cc37ce4b2.js:3:7561)
at AuthenticationContext.handleWindowCallback (https://secure.aadcdn.microsoftonline-p.com/lib/1.0.16/js/adal.min.js:2:24607)
at parseTokenFromUrl (https://devcrh.sharepoint.com/_forms/spfxsinglesignon.aspx:20:17)
at onload (https://devcrh.sharepoint.com/_forms/spfxsinglesignon.aspx#error=login_required&error_description=AADSTS50058%3a+A+silent+sign-in+request+was+sent+but+none+of+the+currently+signed+in+user(s)+match+the+requested+login+hint.%0d%0aTrace+ID%3a+b69ceeca-9d68-433a-9263-482773fa1a00%0d%0aCorrelation+ID%3a+af8b56b0-c4d9-491a-bf2d-11a89fdaafe9%0d%0aTimestamp%3a+2019-04-02+12%3a29%3a49Z&state=8cb0bf92-8759-4dbc-bec2-ba8ef20cc545%7ca5279774-f79f-4ec5-a3ee-a33a6b0e80c7:31:38)"
Steps to Reproduce
using SPFx 1.8
When a guest (so with a address from another tenant) tries to use a spfx webpart that uses the MSGraphClient, the endpoint returns the error: A silent sign-in request was sent but none of the currently signed in user(s) match the requested login hint.