Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
485 views

cannot query azure search ai endpoint

I am using the below to authentication into azure search: cred = DefaultAzureCredential() token = cred.get_token(api) params = {'api-version': os.environ['AZURE_SEARCH_API_VERSION']} headers = {'...
Maths12's user avatar
  • 999
0 votes
1 answer
673 views

Error getting Microsoft Entra Id (AAD) Token using ADF - 404 : NotFound

I'm trying to get an AAD token so that I can use in another Web activity to refresh PBI datasets. However, I'm getting this error when trying to get an AAD Token:. Invoking endpoint failed with ...
Geezer's user avatar
  • 507
0 votes
1 answer
457 views

Access token for Sharepoint for Graph API does not work to read the file contents

I am using Access token to browse my files on sharepoint. However, I thought I would be able to read the contents of the files too using that but I land up in below error. Does anyone know how do I ...
WhoamI's user avatar
  • 416
0 votes
1 answer
730 views

Bearer token expires after 3599, refresh data steps

The bearer token expires after 3599. I still need to refresh it and keep using it. How is that possible? I am looking for a simple code example to do that. I am using Python # Create an MSAL instance ...
WhoamI's user avatar
  • 416
1 vote
1 answer
518 views

Bearer Token from Microsoft has invalid signature

I want to implement a client credential flow with Azure. I have registered two apps in Azure(MyApi and MyClient). The app from myClient sends a POST-request to MS to get the token. I send a request ...
Stefan Deller's user avatar
2 votes
2 answers
2k views

.NET Core 8 Azure AD validation generates The signature is invalid

When using .NET 7 the code below runs well during bearer token validation. Unfortunately, when my Web API application is upgraded to version 8 this code doesn't run well and generates this error ...
derodevil's user avatar
  • 1,079
0 votes
1 answer
55 views

Frontend with more api recorded on AAD (Azure Active Directory)

I've a problem with this environment Frontend Angular MyApi1 MyApi2 Sharepoint Online Each element has an clientid recorded on AAD Frontend can access to Mypi1 and MyApi2 I want to use the ...
GioP's user avatar
  • 87
0 votes
0 answers
332 views

How should I store an Azure AD Bearer Token in Next.js

I'm working on a Next.js project where I've implemented authentication using NextAuth for email/password credentials. Additionally, I need to retrieve a bearer token from an Azure AD app to make ...
Jack's user avatar
  • 1
-1 votes
1 answer
616 views

Is there any way to get a bearer token for each user in Azure and use for authentication against a web API?

It seems a very simple question and hard to imagine Microsoft does not have a solution for it but after Googling for days I cannot find an answer for it, at least not a simple answer. I am developing ...
khoshahmad's user avatar
3 votes
1 answer
2k views

How to use JWT Token Authorization and Azure AZ Token Authorization Simultaneously in DOTNET Core

Trying to Implement the Authorization using both the JWT Token and Azure AD Token using the below code. Individually this are working fine but I want to combine both like Azure AD and JWT Token ...
Yogesh Shinde's user avatar
1 vote
1 answer
1k views

Microsoft public keys only validate id token and not access tokens

I'm trying to validate an access token in my Python app following this code sample from Microsoft So in line 99 it's decoding the token using python-jose library: payload = jwt.decode( ...
Ghasem's user avatar
  • 15.7k
0 votes
1 answer
1k views

Azure Active Directory - ID token can be translated into an authorization token (Access token)

I am tasked with creating a service within Azure to translate a token coming from the internet as a logon and translate it to an access token so the users can access REST API's via an OAuth token - ...
Jason_Hough's user avatar
0 votes
1 answer
1k views

What's the difference between microsoft.identity.client and microsoft.identity.web

I'm selecting a package for a WPF desktop client intended to get authentication tokens from AAD. I would like to use the Microsoft Authenticator in the workflow. There seem to be two packages that can ...
Intensivist's user avatar
  • 1,027
1 vote
1 answer
226 views

Token Request for Azure AD Secured Logic App Throwing CORS Error

I created a logic app that is basically an api call and secured it using this tutorial. https://www.serverlessnotes.com/docs/securing-azure-logic-app-http-triggers-with-azure-ad I have an angular site ...
Angular Apprentice's user avatar
0 votes
1 answer
1k views

How do you handle authentication and token refresh with Microsoft Identity and Azure AD

I'm attempting to secure a .Net 6.0 / Razor Page web application against Azure AD. I was able to complete the application registration with Azure AD and successfully authenticate users. The issue I'm ...
Nakorr's user avatar
  • 75

15 30 50 per page
1
2 3 4 5
7