azure-active-directory

Login with AAD MSAL - Login is already in progress

核能气质少年 提交于 2020-08-27 06:43:13
问题 I have a ASP.net website, that uses MSAL to login. The issue I keep having is that, whenever the user logs in, then logs out again the user is redirected to a logout page. This page implements the new Msal.UserAgentApplication(msalConfig).logout() function, and redirects the user back to the login page. This all works perfectly. The login page will then automatically redirect the user back to the AAD login page. If the user then decides to login again, the result of MyMsalObject.GetAccount()

Use Curl command to access ElasticCloud-Kibana API secured by Azure AD

[亡魂溺海] 提交于 2020-08-26 11:31:09
问题 After I have integrated ElasticCloud with Azure AD for single sign-on, I am not able to use Curl command with AD authentication, here is what I am trying: curl -X PUT -u myuser:mypassword "elasticcloudhost:port/myindex" -H 'kbn-xsrf: true' -H 'Content-Type: application/json' -d '{"settings" : {"number_of_shards" : 1,"number_of_replicas" : 1}}' The error message is: {"statusCode":404,"error":"Not Found","message":"Not Found"} I am able to connect with my Azure user and password to kibana using

How should I be implementing user SSO with AAD in a Django application (using the Django Microsoft Authentication Backend module)?

独自空忆成欢 提交于 2020-08-24 10:34:56
问题 I'm developing a Django (2.2.3) application with Django Microsoft Auth installed to handle SSO with Azure AD. I've been able to follow the quickstart documentation to allow me to log into the Django Admin panel by either using my Microsoft identity, or a standard username and password I've added to the Django user table. This all works out of the box and is fine. My question put (really) simply is "What do I do next?". From a user's perspective, I'd like them to: Navigate to my application

AADSTS50011: The reply url specified in the request does not match the reply urls configured for the application: '<AppId>'

别说谁变了你拦得住时间么 提交于 2020-08-24 05:10:27
问题 I have a .NET Core 2 app template that is configured to use Azure AD out of the box. The configuration is: { "AzureAd": { "Instance": "https://login.microsoftonline.com/", "Domain": "lautaroarinolive.onmicrosoft.com", "TenantId": "67cb2dfd-ebd5-40d8-829b-378340981a17", "ClientId": "50819a7a-e018-4c1d-bf0a-18c8fce5c600", "CallbackPath": "/signin-oidc" }, "Logging": { "IncludeScopes": false, "LogLevel": { "Default": "Warning" } } } In my portal, I have an Azure app registration with the same id

AADSTS50011: The reply url specified in the request does not match the reply urls configured for the application: '<AppId>'

北城余情 提交于 2020-08-24 05:08:32
问题 I have a .NET Core 2 app template that is configured to use Azure AD out of the box. The configuration is: { "AzureAd": { "Instance": "https://login.microsoftonline.com/", "Domain": "lautaroarinolive.onmicrosoft.com", "TenantId": "67cb2dfd-ebd5-40d8-829b-378340981a17", "ClientId": "50819a7a-e018-4c1d-bf0a-18c8fce5c600", "CallbackPath": "/signin-oidc" }, "Logging": { "IncludeScopes": false, "LogLevel": { "Default": "Warning" } } } In my portal, I have an Azure app registration with the same id

Microsoft Graph API in particular active directory OU

对着背影说爱祢 提交于 2020-08-11 02:00:20
问题 I can find all users with below graph api URL https://graph.microsoft.com/v1.0/users?$top=500 But it give response with all users of the organization, in which it come with certain service account users. We have all user in some particular OU some thing like this DC=domainName,DC=local,OU=domainName-HO So I want to know that is there any way to find users from particular OU 回答1: Based on Custom OU considerations and limitations, user accounts, groups, service accounts, and computer objects

Azure AD B2C Not getting Access Token

橙三吉。 提交于 2020-08-10 22:12:09
问题 I have a Single Page App (SPA) written in ReactJS. I am attempting to query the Graph API. I am using the msal.js library to handle my authentication. I am using Azure AD B2C to manage my accounts. What I have so far: I am able to login to Google and get my profile information back to my SPA. However, when an accessToken is requested, the result is empty. I am positive I'm doing something wrong and I'm guessing it's around my app registration and scopes. When I registered my app, it had a

Azure login for tenant failing for Az app/principal with No subscription found message

ぐ巨炮叔叔 提交于 2020-08-10 19:32:58
问题 I have an azure account called account1 where I create an App/Principal that is across tenants visibility. I then give it some API permissions. I have another azure account account2 where I need to access resources using this app. I complete the admin consent flow for account2 by going to the following url https://login.microsoftonline.com/<account2 domain>/adminconsent?client_id=cid1 The flow finishes and I get the tenant id back as say tid2 . When I try to login from command prompt with app