AadHttpClient stopped working in spfx : A silent sign-in request was sent but none of the currently signed in user(s) match the requested login hint
My get call to an aad app authenticated azure function stopped working without any code or configuration change. I am getting creating the AadHttpClient in onInit() using aadHttpClientFactory and then using the factory client, calling the azure function.
It still works for the internal office users but not working for guest accounts.
The error say:
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: 91ce91f8-359e-4d47-bf42-690f09a83500
Correlation ID: 7891279c-f3c1-4174-b9b2-e62b476b1db9
Timestamp: 2019-04-08 14:58:58Z
at Array.
Thanks in advance!
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
I think this is related to #3722 ... while that issue deals with Graph, it seems like the same underlying issue... can you confirm? If so I'd like to close this as a dupe to keep things consolidated...
Yes, they both seems pointing to the same root cause. Can you please update if someone is working on this and how soon this would be fixed?
Thanks in advance!
@Ashish1662 said:
Can you please update if someone is working on this and how soon this would be fixed?
I can't... I don't work for MSFT, just helping out with the issue list. But I've made them aware of this issue. I'll have to let them comment on it.
I'm going to close this issue as a dupe so we can keep things consolidated to #3722 ...
Ok, thank you for your help and prompt responses. Looking forward for a fix soon. 👍
Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues