Questions tagged [azure-active-directory]

Microsoft Azure Active Directory (Microsoft Azure AD) now known as Microsoft Entra ID is a modern developer platform and IAM service that provides identity management and access control capabilities for your cloud applications. It uses industry standard protocols like OAuth2.0, OpenId Connect, and SAML2.0.

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

Use Managed Identity with Cosmos DB

I'd like to use managed identity when connecting to cosmos db table api from an azure function. Uri tableEndpoint = new Uri("https://mycosmos.table.cosmos.azure.com:443/"); var ...
Rob Bowman's user avatar
  • 7,870
0 votes
0 answers
9 views

Azure: Automatic "Windows" login using MSAL, without "Azure Account selector"

I have an Azure website which currently leverages MSAL and Entra for login and authorization. Every time the site is loaded on a new session, the user must manually select a login from the Azure ...
Coruscate5's user avatar
  • 2,283
0 votes
1 answer
25 views

Azure AD B2C Email Signature

Is there any way of changing the email signature sent by Azure AD B2C? The signature sent by default is the name of the directory and I need to change it
Nuno Costa's user avatar
1 vote
0 answers
36 views

Azure DevOps Repos REST API access using service principal multi-tenant app

I faced an access issue when I tried to access Azure Repository information in one tenant using app credentials from another tenant. Flow inside only one tenant (works). I have created a multi-tenant ...
Oleksiy Kachynskyy's user avatar
0 votes
0 answers
22 views

Power BI dataset refresh: use service principal to refresh Snowflake data with access token

I'm trying to refresh a Power BI dataset that has a Snowflake server as datasource, this with the Power BI REST API's via PowerShell and the Power BI modules: Snowflake_PBI_Credentials When running my ...
KevinN1992's user avatar
1 vote
0 answers
22 views

Azure AD B2C Single Sign On on WikiJS

I have an NextJS app (mydomain.com) with Azure AD B2C auth. In this app I have a private-area section where the user can be redirected to another website developed in WikiJS (subdomain.mydomain.com). ...
Luís Fernandes's user avatar
0 votes
1 answer
66 views

AADSTS9002327 error in Refresh Token Flow in Azure AD

I am getting below error when I attempt a Refresh Token Flow in Azure AD. AADSTS9002327: Tokens issued for the 'Single-Page Application' client-type may only be redeemed via cross-origin requests My ...
Suresh Ganapathy's user avatar
0 votes
0 answers
16 views

SSO Login using OpenID Sign-out is not happing

I'm using below code snippet to login with Microsoft azure this code i wrote in StartupAuth.cs for signing user . `app.SetDefaultSignInAsAuthenticationType(CookieAuthenticationDefaults....
Rahul Sharma's user avatar
0 votes
1 answer
85 views

Can't Login with Swagger to Azure Active Directory with new ASP.NET Core 8 app

I started a new ASP.NET Core 8 site with the Azure identity template and can't login through the Swagger UI to make web requests. When I run and enter my client id for the app created on Azure I get ...
mariocatch's user avatar
  • 8,335
0 votes
1 answer
24 views

Issuer URL using ADFS SSO SAML

I am trying to integrate my web application with SAML SSO. At first I create an application on Azure and enabled SAML and everything worked fine. But recently we got a new client who has ADFS instead ...
Sohayb Saleh's user avatar
0 votes
1 answer
63 views

graph api query with $filter operator (STARTS WITH and NOT)

I'm working on a Graph API query where I am trying to get Groups based on certain conditions. Here is the query below with 'ConsistencyLevel': 'eventual' header https://graph.microsoft.com/v1.0/users?$...
BHL's user avatar
  • 138
0 votes
0 answers
43 views

SSO Azure AD Authentication via POST using Oauth2 - PHP

I have written a code to login using Azure AD it is working fine but when I redirect it to the next page the session variable with the values gets empty I have pasted the code for reference. $appid = &...
Chris Dsouza's user avatar
0 votes
1 answer
45 views

Microsoft SSO login is not working as intended in react app

I am trying to do a microsoft SSO login in my react application using dynamic credentials for SSO login of client id, tenant id. The problem is that it is not working. It will just open a popup page ...
COdeingNinja's user avatar
1 vote
1 answer
33 views

Extract Specific data from json in ansible

I have a big json var, the structure is like this: { "ad_groups": [ { "display_name": "GROUPNAME", "group_members": [ ...
YaserMow's user avatar
-1 votes
0 answers
18 views

token id to be sure is the right user who do the operation

We have a angular app and a spring boot backend end. We use azure for authentification. Actually it's the angular app who authentification. She get a access token and id token. /orders/user/{userId} ...
robert trudel's user avatar
0 votes
0 answers
36 views

Microsoft.Data.SqlClient.SqlException (0x80131904): Failed to authenticate the user ""

I am learning AKS and ACR through my test microservices. I am trying to connect AKS pod (deployed .NET microservice container) to Azure SQL Database, but I keep getting this exception after the AKS ...
Andrеw's user avatar
  • 81
0 votes
1 answer
122 views

How to use the dev and prod environment with Azure AD for authentication used by ASP.NET MVC app

I'm working on an old ASP.NET webforms/MVC app and I'm trying to use Azure AD authentication method. It was done with the prod server, but when I want to use localhost or dev server, I added their URL ...
Alexandre's user avatar
0 votes
1 answer
39 views

Title: Issue with Trusted Launch in Azure Fluent SDK

I'm currently working on a C# application using the Azure Fluent SDK to create a virtual machine from a captured image. The code works well for standard scenarios, but I'm facing challenges when ...
DHARSHAN MUTHUKUMAR's user avatar
0 votes
2 answers
68 views

How can we get the delta of members for custom directory roles in Azure AD / Entra Id

I created a custom role in Entra ID and followed below steps: Not I am trying to list out the directory roles using https://graph.microsoft.com/v1.0/directoryRole/delta but it does not detect it. I ...
Taslim Arif's user avatar
-1 votes
0 answers
28 views

Entra ID authentication traffic and office365 traffic from the Azure virtual network [closed]

Does the Entra ID authentication traffic and office365 traffic from the Azure virtual network go over the Internet? We are considering using office365 with winodws365 Enterprise. We handle critical ...
iiima's user avatar
  • 1
0 votes
0 answers
22 views

Azure passport multi-tentant app can't access federation metadata

Converting a single tenant app to multi tenant. Is it possible to protect this with passport authentication using an Azure access token? It works fine for single tenant app. Here is the main code from ...
b.b.89's user avatar
  • 111
0 votes
1 answer
23 views

In the Azure Portal, what is the difference between Azure AD B2C & B2C Tenants

When I search for B2C in the azure portal, i get two items returned, Azure AD B2C & Azure AD Tenants (see screenshot below). I do not understand why these things are separate, and cannot find ...
wilson_smyth's user avatar
  • 1,290
0 votes
0 answers
52 views

How can I add to Sign in process in Azure B2C one next step

I created an Azure B2C environment based on the starter pack provided by Microsoft. I currently have the default UserJourney with Id="SignUpOrSignIn". To this User Journey, I am trying to ...
Lampart123's user avatar
0 votes
1 answer
36 views

Ionic and MSAL Authentication with Azure AD instance

I want to make login in Azure AD from my Ionic mobile app. I've been trying to make my implementation worked using UserAgentApplication.loginPopup() from msal module just as user initially described ...
Agent-47's user avatar
0 votes
1 answer
57 views

AWS Amplify React AzureAD federatedSignIn

I implementing Auth for an internal Single Page App using React, Cognito userpool, Azure AD. There are lots of information and I am not able to connect the dots to make the entire application to work. ...
Jack_125's user avatar
  • 419
0 votes
1 answer
53 views

React and Azure AD B2C IAM

I'm building a React website, and I successfully integrated the Sign Up/Sign In feature into it using Azure AD B2C. My problem is that I want to give the users permissions based on a custom attribute ...
Nuno Costa's user avatar
0 votes
0 answers
17 views

Ger user info from SAML Entra ID

My application implements saml authentication and as IDP I am using Entra ID. But there are some usecases where I need to check if a IDP user account is enabled or not. I need to do it ...
xDTTOPs's user avatar
0 votes
1 answer
104 views

Fetching user list with manager info throwing error "Exception of type 'Microsoft.Graph.Models.ODataErrors.ODataError' was thrown." in MS GRAPH

I am using Microsoft.Graph(5.24) in .net core 6 to fetch all user list along with their Manger names. I do not want to run separate request for it. Till now I have used below mentioned code which is ...
Rajan Mishra's user avatar
  • 1,180
0 votes
0 answers
31 views

Why without Consent AzureAD Application Refresh Token gets delivered

Trying to get an access_token and refresh_token in a test-setup. For this I am doing an oauth2 call with help of https://login.microsoftonline.com/{{ Tenant-ID }}/oauth2/v2.0/authorize?...... and ...
Maik Brauer's user avatar
0 votes
1 answer
138 views

ASP.NET Core 8 Web API : authentication with AAD

I'm recreating same of my .NET 6/.NET 7 Web APIs in .NET 8. I have an issue with the authentication using Swagger connected with Azure Active Directory. I have just copied the old code in the new ...
Enrico's user avatar
  • 3,880
1 vote
0 answers
36 views

Authenticate with AcquireTokenInteractive and use security key as default

I have a C# program (Windows Application .NET 7.0) for logging in to Azure using Web Account Manager (WAM): private void button1_Click(object sender, EventArgs e) { var hwnd = this....
Arne's user avatar
  • 11
0 votes
0 answers
29 views

With Microsoft Identity authentication, how can I troubleshoot occasional errors with viewstate or cookies?

We have a website (mixed ASP.NET, .NET Core, and classic ASP) running in IIS on Windows Server 2016, with almost 20 "applications" (virtual directories) in the website. It is on a web farm ...
PhilipD's user avatar
  • 419
0 votes
1 answer
77 views

Azure Automation: PowerShell script to remove suspended Microsoft 365 users from Azure DevOps organization

I need to create an automation that stays constantly synchronized with the list of users with "suspended" status, those who had their access blocked in Microsoft 365, and removes them from ...
pcg-overdrive's user avatar
0 votes
0 answers
24 views

Azure AD Only admin user can receive optional claims

i have such a question , i have an registred app in azure add and i have an optional claim with the attribute companyname : But only if i am receiving token as my admin user these optional claims are ...
Gumaniuc Alexandru's user avatar
0 votes
0 answers
21 views

Yammer API: 401 Unauthorized Error and User Role Fluctuations

I have an Azure App that calls Yammer's Network Data Export API. The app users an OauthToken with Yammer's user_impersonation permission to call the API. However, for one specific client, the Export ...
Elish's user avatar
  • 466
0 votes
2 answers
71 views

Next-Auth Azure Active Directory Issue

I'm working on NextJS and we want to use Azure Active Directory for login with Next-auth. I added this code below and when we load the app it redirect and show login button once we click on that Sign ...
lbudwal's user avatar
  • 141
1 vote
1 answer
55 views

I need to add a filter to a powershell script that leverages the Miscrosoft Graph SDK module

I am using a Powershell script that uses the Microsoft Graph API SDK to create a CSV and then drop that CSV into "C:\temp". The CSV contains two columns. Column 1. All of our on-prem AD and ...
Mickey J's user avatar
0 votes
1 answer
78 views

MS Graph - Cannot remove license from user, error says license is inherited from group, but user is not in group

I have a user who was removed from a group yesterday. The group has an A3 license assigned. But the user still shows in Entra as having the license, even though she has been removed from the group. ...
BenjaminSelby's user avatar
2 votes
0 answers
42 views
+50

Azure AD B2C fails to get config after upgrading kubernetes

We have upgraded our local instance of Kubernetes to 1.28.2 but after the upgrade we get the exception below in multiple dev environments. The same code works correctly on the prior version (1.25.2). ...
Joe W's user avatar
  • 2,763
-1 votes
0 answers
31 views

How does multitenancy authentication in Azure Cloud using a proxy app registration work? [closed]

I have an application that collects data from m365 and it is registered as an application on our Azure AD instance. This is called m365Collector. In addition to pulling in m365 data of different sorts ...
Tim Whatley's user avatar
0 votes
1 answer
73 views

What haphened if i connect Azure Active Directory with Azure DevOps

we have Azure Devops and Azure Active Directory, they are not connected with each other. In our Azure Devops we have a lot of users with external emails also users with organization email: What ...
Tutul Ckul's user avatar
0 votes
0 answers
50 views

How to link Azure tenant used for "Microsoft Entra ID for customers" to subscription? [closed]

To utilize Microsoft Entra, I have to link the tenant to a subscription, however, when accessing the External Identities -> Linked subscriptions page, I get the following message: This feature isn'...
circle1452's user avatar
3 votes
3 answers
175 views

AzureAD configuration with public key authentication on Spring Boot

I successfully set up a sample application to utilize AzureAD for user authentication following the steps outlined in this blog post. The post provides instructions on configuring AzureAD and the ...
casper's user avatar
  • 365
1 vote
1 answer
124 views

Access denied when trying to add contact in Microsoft Graph API

I have added the permission for contacts. Please refer the screenshot below for reference, Please refer to the below code and give suggestions. public function createContact() { ...
Shankari's user avatar
  • 142
0 votes
0 answers
16 views

Powershell - Missing Output [duplicate]

I'm new to coding/powershell I'm trying to get a list of a users AD groups and their Azure Groups I don't need the output sent to a file or in a fancy table, just a flat list at the prompt $User = ...
DedSysOp's user avatar
0 votes
0 answers
32 views

Auth against Azure Active Directory on Azure Event Hubs

I'm new to Azure Active Directory (Microsoft Entra) auth technology, and trying to authenticate this way against a event hub that will receive events from a rest API. Just to have some support, I am ...
Raúl Hernández's user avatar
0 votes
1 answer
98 views

Failing to update Azure AD group's display name from C# code using MS Graph API

I am trying to update the displayName of an EntraID (Azure AD) group from my C# code. I have an Azure App registration that has (delegated) permissions for MS Graph - Group.ReadWrite.All, and I have ...
marc_s's user avatar
  • 737k
-1 votes
0 answers
47 views

Cypress connection to Azure hosted SQL Server [closed]

I am working with Cypress for a web application whose database resides on an Azure SQL Server. I have tried establishing connection but all in vain yet. Cypress Config File -> const mysql = require(...
Anupeksha Jain's user avatar
0 votes
1 answer
110 views

Connecting to AzureAd through OpenID Connect seems broken in .NET 8

I just upgraded my project from .NET 7 to .NET 8 and OpenID Connect to AzureAD stopped working. The following code works in .NET 7: authenticationBuilder.AddOpenIdConnect(authenticationScheme: "...
Sandy's user avatar
  • 1,326
1 vote
0 answers
24 views

How can I add Azure BC2 authentication to the SignalR connection in a Java program? [closed]

I have a Java program that is not a not a web application that connects to an Azure SignalR hub running in ServerLess mode and listens for events. This program is run on different operating systems ...
ISTI Kevin's user avatar

1
2 3 4 5
356