Questions tagged [msal]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
17 views

How to ask user to reauthenticate for sensitive operation in a SPFX webpart?

I'm building a SPFX webpart that perform some sensitive operation when a button is clicked (document approbation for example). Is there any way to ask the user to reauthenticate to "sign" ...
Steve B's user avatar
  • 7,488
1 vote
1 answer
257 views

Get AAD Roles from React SPFx Webpart

I have a simple React SPFX Webpart. We have deployed it to our SP Online site. It currently displays the SP Groups of the current user. const queryUrl = `${this.context.pageContext.site.absoluteUrl}/...
Bobby Ortiz's user avatar
2 votes
1 answer
616 views

Authorization gets failed when making yammer API calls using AAD tokens generated with grant_type="client_credentials"

I am getting 401 unauthorized issue when trying to make yammer API calls mentioned here. I have created an app from app registrations on Azure portal and provided below permissions And I have used ...
Divya P's user avatar
  • 21
1 vote
0 answers
1k views

help with error ClientAuthError: User login is required. For silent calls, request must contain either sid or login_hint

I'm using MSAL.js to acquire a silent token and it works ok when i login See my snippet code below var userid = _spPageContextInfo.userId; //console.log(email); var upn = getUserEmailByLoginName(...
naijacoder's user avatar
  • 4,228
0 votes
1 answer
2k views

How to grant MS Graph's User.Read.All privilege to any SharePoint Online user through an Azure App?

In a SharePoint Online (SPO) environment, I am trying to let any (non-admin) user query Microsoft Graph API information that requires the User.Read.All permission. => The aim is to make my own ...
Ashor Livs's user avatar