sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

MSGraphClient does not seem to work for most of the Guest user

Open gurubn opened this issue 7 years ago • 6 comments

Category

  • [ ] Question
  • [ ] Typo
  • [X] Bug
  • [ ] Additional article idea

Expected or Desired Behavior

When using the MSGraphClient as guest user, it should return data

Observed Behavior

MSGraphClient used in an SPFx web part does not seem to work for most of the Guest user from September 23rd onwards For me, This issue seems to be similar to https://github.com/SharePoint/sp-dev-docs/issues/3722. We have a SPFx web part leveraging MSGraphClient. This web part works fine for Internal employees (Account present in AD), but stopped working for Guest accounts from September 23rd (before that it used to work well for Guest account from past 3-4 months). Console log error looks like below. MsGraphClientError

Anybody else having similar issue ?. Any directions on how to fix the problem for Guest accounts ?.

Steps to Reproduce using SPFx 1.6 When a guest (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.

Thank you in advance!.

gurubn avatar Oct 03 '19 08:10 gurubn

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

msft-github-bot avatar Oct 03 '19 08:10 msft-github-bot

Hello, is there any update on this issue?

kuku82 avatar Nov 20 '19 17:11 kuku82

Unfortunately no. We are still struggling with the issue. I have raised Microsoft Support ticket as well on this and they are looking into it

gurubn avatar Nov 21 '19 08:11 gurubn

Thanks for the update. I assume none of the Teams Apis are working for you for guest users?

kuku82 avatar Nov 21 '19 14:11 kuku82

The issue fixed now through regular Microsoft support ticket. Unfortunately, the Product Group did not disclose any information about root cause. Anyways, I am happy that issue is fixed. @kuku82 : Recently PG has pushed some fix around this it seems. You can check if things are working for you. I will mark this Github issue as closed (as Issue seems to be fixed for us and many other customers who raised similar issue through Microsoft Support ticket)

gurubn avatar Feb 11 '20 11:02 gurubn

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

msft-github-bot avatar Feb 18 '20 12:02 msft-github-bot