Questions tagged [msal]

32 questions
0
votes
0 answers

Office Add-In MSAL SSO Fails in 'Office for the Web' MacOS

I have Office Add-In MSAL working correctly on the PC (Excel Desktop App and Excel Office on Web) and on MacOS Excel Desktop App. However, it consistently fails on MacOS for Excel Office on the Web (MacOS Big Sur, 11.7.9 with Safari 16.6, Angular…
JimbobTheSailor
  • 1,441
  • 1
  • 12
  • 21
0
votes
1 answer

Azure AD MFA without a browser?

This has been asked before, but in a different context. I need to be able to authenticate to Azure AD (Entra) via MFA from a terminal, where there is no possibility to load a browser. This is on Linux, and I've been using the python msal library.…
David Mulder
  • 7,595
  • 11
  • 45
  • 61
0
votes
0 answers

Angular acquireTokenPopup - msal redirects to localhost a

I need to obtain O365 token and send it back to API (.NET) to store in DB. after successful login or consent request - it redirects popup to localhost (that's what I configured in Azure as redirectURL). then popup stays there . If I close this popup…
Vladi
  • 1
0
votes
1 answer

How to get value of Sku Id of Office 365 license Python

By using msal in Python to create a token, I'm attempting to assign a license to the user. import msal client_id = xxx client_secret= xxx tenant_id = xxx authority = f"https://login.microsoftonline.com/{tenant_id}" scopes =…
Shiv
  • 3
  • 2
0
votes
0 answers

MSAL integration Web App taking last login user details when updating records in .NET Core 3.1

I am working on adal to msal migration, facing issue with while updating records, Web App is taking last logged in user details to update data. Please find my code below. public async Task GetTokenForWebApiAsync(string…
Dhanaraj
  • 27
  • 1
  • 5
0
votes
0 answers

About handle new access token in MSAL Vue 3

I have a question using MSAL and Vue3, is about how to write functions to call a protected api, also I wanto to aquire the right access_token, taking in account if expired get a new one. In the setup of a component a do something like…
0
votes
1 answer

Getting error - AADSTS500011: The resource principal named ** was not found in the tenant named **

I have an AAD Application - ABC, that needs to access other application XYZ via an exposed api which is - "api://XYZ/general". I`m trying to use MSAL library and using ConfidentialClientApplication mechanism,but it is constantly giving me an error…
0
votes
0 answers

MsalRedirectComponent calls store after login

`I'm using Msal Login with NGRX created actions, effects and reducers and in login logout button calling dispatcher I also want to use MsalRedirectComponent in bootstrap so that it automatically redirect to microsoft login page but we are not…
0
votes
1 answer

MSAL Login with NGRX state management

I'm using MSAL login which automatically redirect to microsoft login page but when I set cache location to 'none' instead of 'localStorage' it's not redirecting I don't want to store token in local Storage, How Can I fix this and use NGRX to store…
Samarth
  • 1
  • 1
0
votes
0 answers

'GetAccountsAsync' returns null in my .NET Maui application (C#)

I have a .NET Maui application that is supposed to use MSAL Authentication (B2B). The login with username and password works. However, I want to check if a valid access token is stored in the cache when the application starts. The code line var…
Andreas
  • 3
  • 2
0
votes
1 answer

Azure App Service web app: Django + Microsoft login redirect HTTPS issue

Azure App registration web redirect URL (it's HTTPS) as below: Using Azure App Service deployed the Django web app successfully: the above deploying result shows http://, but in Azure web app web it shows https://, also could open the web app…
J.W
  • 671
  • 7
  • 23
0
votes
1 answer

Getting Azure AD Enterprise Application user group in jwt token using MSAL in C#

I have an application in Vue.js that obtains user/bearer tokens using oidc-client that gives information about the usergroups in a particular Enterprise Application in Azure AD, the current logged in user is part of. We have used the following as…
0
votes
1 answer

Auth guard popup in angular is blocked by the browser

In an Angular project, I'm using the canActivate method in the routing to restrict access to a page. I'm using the popUp function from the @azure/msal-browser library to verify the user. When entering the page, the browser blocks the pop-up by…
Jenath
  • 3
  • 3
0
votes
0 answers

Maui mobile app, use token from msal to geht single tentand sp.list

I hava Maui mobile app and use msal for authentifikation. this work fine and Ms login screan show to login. after login i will load new page for calling sp.list. eg.…
0
votes
1 answer

Intune android sdk(with MSAL),Getting NPE at com.microsoft.identity.common.internal.ui.browser.BrowserSelector.isFullBrowser(BrowserSelector.java:236)

I am integrating Intune SDK(with MSAL) on my android application. I am able to login via MSAL and am also seeing the Microsoft Intune's consent screen where i have to specify the pin. After both these steps application crashes with the exception…
Xeshan J
  • 372
  • 5
  • 18