Viva Connections Issue - Asking login for Power Apps WebPart/SPFx failing to call Graph

%3CLINGO-SUB%20id%3D%22lingo-sub-2377637%22%20slang%3D%22en-US%22%3EViva%20Connections%20Issue%20-%20Asking%20login%20for%20Power%20Apps%20WebPart%2FSPFx%20failing%20to%20call%20Graph%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2377637%22%20slang%3D%22en-US%22%3E%3CP%3EWe%26nbsp%3Bare%26nbsp%3Bbuilding%26nbsp%3Ban%26nbsp%3Bintranet%26nbsp%3Bfor%26nbsp%3Ba%26nbsp%3Bcustomer%2C%26nbsp%3Band%26nbsp%3Bon%26nbsp%3Bsome%26nbsp%3Bpages%2C%26nbsp%3Bthere%26nbsp%3Bare%26nbsp%3Bcustom-built%26nbsp%3BSPFx%26nbsp%3BWebParts%26nbsp%3Bthat%26nbsp%3Bmake%26nbsp%3Bcalls%26nbsp%3Bto%26nbsp%3BMicrosoft%26nbsp%3BGraph%2C%26nbsp%3Band%26nbsp%3Bsome%26nbsp%3BPower%26nbsp%3BApps%26nbsp%3Badded%26nbsp%3Busing%26nbsp%3Bthe%26nbsp%3Bout-of-the-box%26nbsp%3BPower%26nbsp%3BApps%26nbsp%3BWebPart.%26nbsp%3BFor%26nbsp%3Bboth%26nbsp%3Bcases%2C%26nbsp%3Bit%26nbsp%3Bworks%26nbsp%3Bperfectly%26nbsp%3Bwhen%26nbsp%3Bopening%26nbsp%3Bthe%26nbsp%3Bpages%26nbsp%3Bfrom%26nbsp%3BSharePoint%2C%26nbsp%3Bor%26nbsp%3Badding%26nbsp%3Bthe%26nbsp%3Bpage%26nbsp%3Bas%26nbsp%3Ba%26nbsp%3BTeams%26nbsp%3Btab%26nbsp%3B(SharePoint%26nbsp%3Bpages%26nbsp%3Boption).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%2C%26nbsp%3Bfrom%26nbsp%3BViva%26nbsp%3BConnections%2C%26nbsp%3Bthe%26nbsp%3Bpages%26nbsp%3Bwork%26nbsp%3Bperfectly%26nbsp%3Bon%26nbsp%3Bthe%26nbsp%3Bfirst%26nbsp%3Bload%26nbsp%3Btime.%26nbsp%3BAnd%26nbsp%3Bthen%26nbsp%3Bstart%26nbsp%3Bto%26nbsp%3Bfail%26nbsp%3Bmost%26nbsp%3Bof%26nbsp%3Bthe%26nbsp%3Btimes.%20Seeming%20that%20it%20is%20not%20using%20correctly%20the%20auth%20token....%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGraph%26nbsp%3Bcalls%26nbsp%3Bfrom%26nbsp%3BSPFx%26nbsp%3BWebParts%26nbsp%3Bfail...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPower%26nbsp%3BApps%26nbsp%3Bwebpart%26nbsp%3Bprompts%26nbsp%3Bto%26nbsp%3Bsign%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Sign%20In.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F282824i8E8F2EEBD4E8C393%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Sign%20In.PNG%22%20alt%3D%22Sign%20In.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EUsing%26nbsp%3Bthe%26nbsp%3BTeams%26nbsp%3Bdev%26nbsp%3Btools%26nbsp%3Bto%26nbsp%3Bidentify%26nbsp%3Bthe%26nbsp%3Btraffic%26nbsp%3Bit%26nbsp%3Bsimply%26nbsp%3Bseems%26nbsp%3Bno%26nbsp%3Bauth%26nbsp%3Btoken%26nbsp%3Bis%26nbsp%3Bbeing%26nbsp%3Bpassed%26nbsp%3Bin%26nbsp%3Bboth%26nbsp%3Bcases.%26nbsp%3BAs%26nbsp%3Bthe%26nbsp%3Bsame%26nbsp%3Bpages%2FWebParts%26nbsp%3Bwork%26nbsp%3Bfine%26nbsp%3Bfrom%26nbsp%3BSharePoint%26nbsp%3Band%26nbsp%3BTeams%26nbsp%3Btabs%2C%26nbsp%3Bmy%26nbsp%3Bunderstanding%26nbsp%3Bis%26nbsp%3Bthat%26nbsp%3Bthe%26nbsp%3Bissue%26nbsp%3Brelates%26nbsp%3Bto%26nbsp%3Bsomething%26nbsp%3Bon%26nbsp%3BViva%26nbsp%3BConnections.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%26nbsp%3Bsomeone%26nbsp%3Bhelp%26nbsp%3Bwith%26nbsp%3Bthis%26nbsp%3Bissue%26nbsp%3Bor%26nbsp%3Bpoint%26nbsp%3Bme%26nbsp%3Bto%26nbsp%3Bwhere%26nbsp%3BI%26nbsp%3Bshould%26nbsp%3Blog%26nbsp%3Bthe%26nbsp%3Bbug%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2377637%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New Contributor

We are building an intranet for a customer, and on some pages, there are custom-built SPFx WebParts that make calls to Microsoft Graph, and some Power Apps added using the out-of-the-box Power Apps WebPart. For both cases, it works perfectly when opening the pages from SharePoint, or adding the page as a Teams tab (SharePoint pages option).

 

However, from Viva Connections, the pages work perfectly on the first load time. And then start to fail most of the times. Seeming that it is not using correctly the auth token....

 

Graph calls from SPFx WebParts fail...

 

Power Apps webpart prompts to sign:

 

Sign In.PNG


Using the Teams dev tools to identify the traffic it simply seems no auth token is being passed in both cases. As the same pages/WebParts work fine from SharePoint and Teams tabs, my understanding is that the issue relates to something on Viva Connections.

 

Can someone help with this issue or point me to where I should log the bug?

0 Replies