All Questions
Tagged with msal.js microsoft-graph-api
40
questions
0
votes
1
answer
43
views
Get change notifications teams presence using Microsoft Graph API without delegated permissions
I am working on a application which needs ms teams change notifications for presence to update the frontend. The issue is this application will open in another application as an IFRAME, I have tried ...
1
vote
0
answers
30
views
Microsoft.Identity.Client.MsalServiceException
I am trying to send emails from my angularjs application using MSAL setup, getting these exceptions:
Exception thrown: 'System.Net.WebException' in mscorlib.dll Exception
thrown: 'Microsoft.Identity....
0
votes
1
answer
187
views
Getting Application roles in JWT token for external users and Microsoft internal users after the Authentication
We are trying to implement Role based Authentication for our Multitenant application which allows home tenant users and External tenant users as well.
Application is hosted on One tenant of Azure ...
0
votes
0
answers
95
views
In my Mern stack project and I'm signing users with microsoft account in the tenant as well as with personal account but unable to call the graph api
I'm using @azure/msal-node package for my node js backend for signing in users and getting an access token for calling the m365 graph api. It works for the user inside our tenant but not for personal ...
0
votes
1
answer
271
views
Why can scopes for AuthorizationCodeRequest and AuthorizationCodeUrlRequest be different even though the docs say otherwise?
I'm just starting to explore the MS identity platform and came across this example repo for a node web app. In it under App > routes > auth.js the /aquireToken route sets the ...
0
votes
1
answer
185
views
angular msal-auth without ms graph
I use msal-auth to get a token from azure (only auth once). The following auth only validates against the token without any Azure auth. My problem is now that it seems to need ms-graph to validate ...
1
vote
2
answers
930
views
How do I setup OneDrive Filepicker v8 for Business/Sharepoint with Javascript? (Microsoft.IdentityModel.Tokens.AudienceUriValidationFailedException)
I already have put some hours into the setup of the OneDrive FilePicker v8 for Javascript for personal users to access their personal OneDrive files. Now I want to do the same for users with business/...
0
votes
0
answers
217
views
Allow anyone to join or start microsoft teams meeting
I have registered an application using Microsoft's developer program. The application is supposed to create MS Teams meeting URLs for any tenant. Below is my current flow:
User from tenant/...
0
votes
1
answer
179
views
Microsoft personal accounts scope is limited to User.Read
I have registered an application via Microsoft's AAD Portal. This application is supposed to be accessed by anyone. So I have set signInAudience: AzureADandPersonalMicrosoftAccount in my manifest.
My ...
0
votes
1
answer
133
views
MSAL - Client auth - persistent authentication
I'm looking for the right approach to connect a 365 identity to a backend service that works on behalf of me in MS Graph.
I have searched a ton of articles, but all I find which is good enough details ...
4
votes
1
answer
1k
views
Is this how to get a refresh token using msal-node library?
I'm using the msal nodejs library. I have the following code
const ouathClient = new msal.ConfidentialClientApplication(msalConfig);
const tokenRequest = {
code: request.query.code,
scopes: ...
3
votes
1
answer
5k
views
MSAL access token refreshing not working through AcquireTokenSilent
I am implementing MSAL authentication for our SPA. I've followed various official and unofficial guides and so far this is my auth implementation:
loginMicrosoft() {
myMSALObj
.loginPopup(...
0
votes
2
answers
6k
views
Get an access token to Sharepoint and GraphAPI
I'd like to access both the Sharepoint Rest API and the GraphAPI using an access token acquired using the MSAL.js library.
I always get Exception of type 'Microsoft.IdentityModel.Tokens....
0
votes
1
answer
192
views
getPSTNcall Javascript error Microsoft graph
I am able to get acesstoken with all the scope but when I add CallRecord-PstnCalls.Read.All, CallRecords.Read.All to scopes it gives me error
msal-browser.min.js:35 Uncaught (in promise) ServerError: ...
1
vote
1
answer
453
views
Syntax error Invalid Regular expression angular typescript
i am getting this error and i am stuck cant find where is the syntax problem
core.mjs:6495 ERROR SyntaxError: Invalid regular expression:
/https://graph.microsoft.com/v1.0/communications/callRecords/...