Issue Getting below error while logging to container registry Command: docker login <MY_REGISTRY_NAME>.azurecr.io Error Message: Error response from daemon: Get https://<MY_REGISTRY_NAME>.azurecr.io/v2/: unauthorized: Application not registered with AAD Solution Go to Access Keys in Container Registry and enable the admin user,
Continue readingTag: azure-active-directory
[SOLVED] Creating Evenhub topic with EventHubManagementClient
Issue I’m trying to create an EventHub topic within a namespace through my .net core application. I’m a bit struggling with the authentication and couldn’t figure out exactly what should I do to get the Token credentials from Azure. Should
Continue reading[SOLVED] How to get New-AzureADPolicy to work in azure cloud shell
Issue I was able to run Install-Module -Name AzureADPreview But when I run $policy = New-AzureADPolicy -Definition @(‘{"TokenLifetimePolicy" {"Version":1,"AccessTokenLifetime":"02:00:00"}}’) It run into this error New-AzureADPolicy: The term ‘New-AzureADPolicy’ is not recognized as a name of a cmdlet, function, script file,
Continue reading[SOLVED] Create Group in Azure AD creating a group which is already exists in AzureAD using Graph API
Issue I am trying to create group in Azure AD using graph APIs. I am not sure why duplicate entry is getting added for Group, Expected is Only one entry for Group should be present and if we try to
Continue reading[SOLVED] Why does using AD token to access storage account not expire after 90 min in azure?
Issue Here is the code from azure.identity import ClientSecretCredential token_credential = ClientSecretCredential( "",# tenant id "",# active directory application id "", # active directory application secret ) blob_service_client = BlobServiceClient(account_url=oauth_url, credential=token_credential) def listcontainer(): from azure.storage.blob import BlobServiceClient con = blob_service_client.list_containers()
Continue reading[SOLVED] How to route AKS traffic through internal subnets conditionally?
Issue Context: So I have a test script in an AKS Cluster; this script logs into a site using the single sign-on feature with a user from the Azure Active Directory. The Test Script is located in Cluster A, and
Continue reading[SOLVED] Azure AD OAuth2.0: I dont get a refresh token
Issue when a client application (such as a webpage using our api) is connecting to a Azure AD OAuth2.0-protected web api To get the access token, the client applications make a POST to this https://login.microsoftonline.com/{tenant}/oauth2/token But the client applcation does
Continue reading[SOLVED] Azure AD Audience is Invalid due to "api://" being appended
Issue I have two Azure Daemon apps. App A and App B. App B works as expected. I call the /oauth2/v2.0/token to the the access token. Then I decode the token and extract the roles. App A does not.. when
Continue reading[SOLVED] IDX10803: Unable to create to obtain configuration from: 'https://login.microsoftonline.com/{Tenant-ID}/.well-known/openid-configuration'
Issue For the past 5 years I’m using Azure IoT remote monitoring solution and using the Azure AD authentication for securing the application and APIs, from last Saturday I’m getting the error below while sign in (yellow screen): IDX10803: Unable
Continue reading[SOLVED] Add an AD Group as a member of already existing Enterprise Application with Terraform
Issue Right now I am provisioning an AD Security Group just fine via Terraform with: resource "azuread_group" "my_group" { display_name = "Test_Group_Terraform" owners = ["<hardcoded user>"] security_enabled = true } I am trying to figure out how to assign this
Continue reading