Questions tagged [azure-app-registration]

88 questions
1
vote
0 answers

How to add multiple identifierURIs from Powershell

I'm trying to add multiple identifierURIs from Powershell. Normally I use this command to add single identifierURI: Set-AzureADApplication -DisplayName "My App" -IdentifierURIs "api://$appId" What more to include in that command to add multiple…
1
vote
1 answer

Unable to set client claims when acquiring confidential client application token

I am attempting to use the MSAL python library to call another custom api in Azure(Exposed through AppRegistration with an API scope exposed). I am writing a daemon application that will make the request. Following Azure documentation…
1
vote
1 answer

Using v2 token endpoint still giving v1 token: Azure Active Directory

I created a new app registration and set scopes for Application.Read.All and User.Read.All. I exposed one custom scope as access_as_user. Using v2 token endpoint still giving v1 tokens that is the main issue now. v1 token endpoint:…
1
vote
1 answer

.NET 6 App Registration authorization validates token but returns 401-Unauthorized error

I am trying to do an app registration authorization for an ASP.NET Core 6 Web API. I get a token using the app registration credentials and authenticated to the API. The token validation seems to be working but I get a 401-Unauthorized error with no…
B Thornton
  • 51
  • 3
1
vote
2 answers

Azure optional claim return object Id - need Group name

i have tried to get user group name as value in auth/me URL, but it returns only objectId of group. How to get the group name instead of objectId. In my manifest i have added "groupMembershipClaims": "SecurityGroup" optional claims also added i…
1
vote
0 answers

In Azure App Registration page: What is the difference between 'Configured permissions' and 'Other permissions configured for xxxAD'?

In 'Azure Portal - App Registration' page permissions can be assigned in 'Configured permissions' or 'Other permissions granted for AD', i would like to understand, Difference between them In which scenario should either of them be preferred My…
user527614
  • 465
  • 5
  • 19
1
vote
1 answer

Azure app registration for authenticating to different resources

I am new to Azure and would like to understand sone best practices for authenticating to different Azure resources using Azure App registration. Do I need to create separate app registration for authenticating to different Azure resources like Azure…
1
vote
2 answers

How to allow app registration to be accessed only by specific user or group?

I'm exploring azure app registration and when creating this it asks me to choose either of following options. Is there a way to allow only a specific user or user group to access this app registration?
variable
  • 8,262
  • 9
  • 95
  • 215
1
vote
1 answer

Unable to remove URL from Azure App Registrations

I'm trying to remove a specific URL from Azure App Registrations. I tried the below command. az ad app update --id --remove web-redirect-uris 0 I used '0' (Index) as it doesn't allow us to delete the URL value. But it gives below…
Container-Man
  • 434
  • 1
  • 6
  • 17
0
votes
1 answer

Parsing OData Select and Expand failed: Term 'customAttribute1', 'customAttribute2' is not valid in a $select or $expand expression

We want to retrieve only Personnalise(custom) user attributes using Python. So far succès in getting token but failed at making requests to graph. #code de chatgpt import msal # Replace with your Azure AD B2C configuration tenant_id =…
0
votes
0 answers

Is it possible to use a user-assigned managed identity with an App Registration in Azure?

Let's say I have two API services A and B and I want to provide role-based access control for calls to either of them. Currently I create an App Registration for both A and B and then define roles on those app registrations as needed. So my…
Thomas
  • 1,512
  • 3
  • 12
  • 37
0
votes
0 answers

Azure DevOps Authentication (multi-tenant)

I have strange question. I have two Azure tenants. Let's say "Tenant A" and "Tenant B" and there is an Azure DevOps "linked" to Tenant A—let's call it "DevOps A". I have an app registration resource in Tenant A, which is a multi-tenant. In Tenant B,…
0
votes
1 answer

AAD graph -> MS graph migration

I’m working on AAD graph -> MS graph migration. Below are the API permissions configured for the registrations, when I connect the AAD from my .NET app for authentication under IAppBuilder.UseOpenIdConnectAuthentication =>…
0
votes
1 answer

How to read Azure Ad User CompanyName Attribute using credentials in java

I am trying to get Azure AD user Attribute CompanyName using user id, passwor, client id, and Tenant Id using java. Reffered this Doc: under username/password…
0
votes
1 answer

How can I Register a OAuth 2.0 app into Azure AD?

I want to register a OAuth 2.0 app into Azure AD. Should i use App registration option or Enterprise Apps blade? I need step wise procedure as I cant find full procedure in MS docs. My client is asking for below values from me some of which I can…