azure-active-directory

Unable to connect to Microsoft Dynamics CRM with PHP and Curl

送分小仙女□ 提交于 2021-02-08 05:06:32
问题 I am trying to use PHP and CURL to connect to Microsoft Dynamics API so I can read client data from the CRM. The API guide can be found here: https://msdn.microsoft.com/en-gb/library/mt593051.aspx I've been into the Azure portal and set up a new application, and it gives me the credentials to use (client id, secret, etc.) and the url end points. Using these credentials I am able to successfully connect to the CRM and retrieve a bearer access token, but I am unable to get any further. When I

Add or Delete an app's API permissions (requiredResourceAccess) via Microsoft Graph

前提是你 提交于 2021-02-08 04:59:48
问题 In an application in my trial Azure AD tenant, I want to modify my API permissions via the Graph API. I am able to GET the application's requiredResourceAccess in the Graph Explorer (https://developer.microsoft.com/en-us/graph/graph-explorer#) via https://graph.microsoft.com/beta/applications/{app object ID}/requiredResourceAccess, but I am not able to modify or delete these values, or even GET specific resources. Here's my GET result: { "@odata.context": "https://graph.microsoft.com/beta/

Verify if user account exists in Azure Active Directory

纵饮孤独 提交于 2021-02-08 04:29:12
问题 I need to send an email to users from an ASP.NET Core 2 application, following some business rules. However, I need to ensure that the account the email is being sent to actually exists (for some reason, it may be that the account stopped being valid). The customer is using Azure Active Directory, so I need to query AAD somehow so it lets me know whether the account exists or not. So far I have been looking for Microsoft Graph as a way to do this, however every example I have seen so far

Hide back button in Azure Active Directory login page

大憨熊 提交于 2021-02-08 02:11:16
问题 We have implemented ADAL js in our angular web app. I wonder if Is there any config to hide the back ('Atrás' in the picture) button at the login page? to be like: 回答1: No, there's not option to hide the "back" button. 来源: https://stackoverflow.com/questions/57810154/hide-back-button-in-azure-active-directory-login-page

Hide back button in Azure Active Directory login page

怎甘沉沦 提交于 2021-02-08 02:10:17
问题 We have implemented ADAL js in our angular web app. I wonder if Is there any config to hide the back ('Atrás' in the picture) button at the login page? to be like: 回答1: No, there's not option to hide the "back" button. 来源: https://stackoverflow.com/questions/57810154/hide-back-button-in-azure-active-directory-login-page

How can I sign a JWT to exchange an access token from azure active directory?

冷暖自知 提交于 2021-02-08 01:56:22
问题 I am coding by nodejs and I am referring to this doc : https://docs.microsoft.com/en-us/azure/active-directory/develop/v1-oauth2-client-creds-grant-flow#second-case-access-token-request-with-a-certificate As this doc said , I can get an access token by a JWT token . This doc indicated how to sign a JWT : https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-certificate-credentials but I can't find any demo code about it.So how can I implement it to get an access

Can Azure AD (work) accounts be used with Azure B2C? Is that a bad idea? [closed]

霸气de小男生 提交于 2021-02-07 20:56:45
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago . Improve this question I need to support work accounts (or school accounts) with AzureAD B2C. I already have an existing base of Facebook clients and Google. However, when I configure the Microsoft endpoint, I only get the liveID option. Is there a way to use a custom B2C signup

ADAL Mac returns 300 AD_ERROR_CACHE_MULTIPLE_USERS error

大兔子大兔子 提交于 2021-02-07 20:55:29
问题 We are using the ADAL Mac library to authenticate. When using this library we get a 300 error (AD_ERROR_CACHE_MULTIPLE_USERS) with the description: The token cache store for this resource contains more than one user. Please set the 'userId' parameter to the one that will be used. When does this happen? How should one handle this scenario? 回答1: Background ADAL has a token cache for all access/refresh tokens on the device. The cache keys on things like the user, resource being requested, etc.

ADAL Mac returns 300 AD_ERROR_CACHE_MULTIPLE_USERS error

橙三吉。 提交于 2021-02-07 20:55:18
问题 We are using the ADAL Mac library to authenticate. When using this library we get a 300 error (AD_ERROR_CACHE_MULTIPLE_USERS) with the description: The token cache store for this resource contains more than one user. Please set the 'userId' parameter to the one that will be used. When does this happen? How should one handle this scenario? 回答1: Background ADAL has a token cache for all access/refresh tokens on the device. The cache keys on things like the user, resource being requested, etc.

ADAL Mac returns 300 AD_ERROR_CACHE_MULTIPLE_USERS error

为君一笑 提交于 2021-02-07 20:54:20
问题 We are using the ADAL Mac library to authenticate. When using this library we get a 300 error (AD_ERROR_CACHE_MULTIPLE_USERS) with the description: The token cache store for this resource contains more than one user. Please set the 'userId' parameter to the one that will be used. When does this happen? How should one handle this scenario? 回答1: Background ADAL has a token cache for all access/refresh tokens on the device. The cache keys on things like the user, resource being requested, etc.