azure-active-directory

how do I get the list of contact folders for a user with MicrosoftGraph API

独自空忆成欢 提交于 2020-02-29 06:09:30
问题 I can't get access to the other contact folders in a user's account, through the MSGraph API. I am able to get the contacts in the default folder. But when I try to get the other contact folders for that same account with a GET request to this url https://graph.microsoft.com/v1.0/users/user@domain.com/contactfolders I get an empty array { "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('user%domain.com')/contactFolders", "value": [] } When I look at the decoded jwt I can

how do I get the list of contact folders for a user with MicrosoftGraph API

一个人想着一个人 提交于 2020-02-29 06:08:30
问题 I can't get access to the other contact folders in a user's account, through the MSGraph API. I am able to get the contacts in the default folder. But when I try to get the other contact folders for that same account with a GET request to this url https://graph.microsoft.com/v1.0/users/user@domain.com/contactfolders I get an empty array { "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('user%domain.com')/contactFolders", "value": [] } When I look at the decoded jwt I can

WAAD doesn't refresh access token from javascript

谁说我不能喝 提交于 2020-02-25 23:09:05
问题 For applications that authenticate users with Windows Azure Active Directory(WAAD), unable to refresh token from javascript. All the resources are protected by Authorize attribute makes calls to login.windows.net/{0} if token is expired. If the request is from page load it works as expected but if the request is from javascript ajax call it is unable make call to login.windows.net/{0}. It returns with status 302 and message XMLHttpRequest cannot load https://login.windows.net/xxx. No 'Access

.net core 2.2 multiple bearer token authentication schemes

二次信任 提交于 2020-02-25 13:12:06
问题 I am currently trying to use 2 different bearer tokens in a .net core 2.2 app. I would like to use an Identity Server token and an Azure AD bearer token. According to Microsoft this is possible (https://docs.microsoft.com/en-us/aspnet/core/security/authorization/limitingidentitybyscheme?view=aspnetcore-2.2) but I am having no success getting it working. I have the Identity Server token as the "default" authentication followed by the AzureAD token as documented in the aforementioned link:

how to suppress the login screen in Azure AAD authentication

假如想象 提交于 2020-02-25 09:37:36
问题 I have created an Azure app. After granted by user(once in lifetime ), it fetches the users outlook mailbox data with help of accessToken. The Microsoft account is part of my org which uses SSO. So, if i am pre logged in via SSO in browser, how can I get rid of the un-neccesary login screen, which comes pre-populated with my email id, and I only have to click to choose the user account. How could i remove that login screen from this flow? 回答1: You can specify login_hint=user@domain.com with

how to suppress the login screen in Azure AAD authentication

不羁岁月 提交于 2020-02-25 09:37:25
问题 I have created an Azure app. After granted by user(once in lifetime ), it fetches the users outlook mailbox data with help of accessToken. The Microsoft account is part of my org which uses SSO. So, if i am pre logged in via SSO in browser, how can I get rid of the un-neccesary login screen, which comes pre-populated with my email id, and I only have to click to choose the user account. How could i remove that login screen from this flow? 回答1: You can specify login_hint=user@domain.com with

How to acces AzureRM with a AzureAD Multi-Tenant App using personal Microsoft account?

可紊 提交于 2020-02-25 06:16:46
问题 My target is simple: use an Azure AD multi-tenant app to be able to call Azure Resource Manager API on other tenants. However, I cannot figure out how to do it when you sign in with a personal Microsoft account. I created an Azure AD multi-tenant app using a company's tenant Then created a test ASP.NET Core Web application which goes to a such URL: The Microsoft's login page shows up and I'm able to log in successfully with a personal LIVE.COM , where the test Web app receives the callback

Azure OAuth2 fails with Angular HashLocationStrategy

最后都变了- 提交于 2020-02-25 06:09:58
问题 This is a follow up question to Angular App Hosting Azure Storage Container - Azure Authentication Callback and Routing fails. Summary: I want to host my Angular 8 app on an Azure Storage Account. To make the routing work I had to turn on the HashLocationStrategy. This strategy prefixes the routes with a hashtag like this: https://<projectname>.z6.web.core.windows.net/#/auth/login The routing works now but the Azure OAuth2 process adds the access token information to the base url also by

Azure OAuth2 fails with Angular HashLocationStrategy

可紊 提交于 2020-02-25 06:06:53
问题 This is a follow up question to Angular App Hosting Azure Storage Container - Azure Authentication Callback and Routing fails. Summary: I want to host my Angular 8 app on an Azure Storage Account. To make the routing work I had to turn on the HashLocationStrategy. This strategy prefixes the routes with a hashtag like this: https://<projectname>.z6.web.core.windows.net/#/auth/login The routing works now but the Azure OAuth2 process adds the access token information to the base url also by

No subscriptions found in the old Azure portal

偶尔善良 提交于 2020-02-24 20:05:47
问题 I am using a visualstudio account in Azure. i have created a new user and given admin access to the active directory to this user. I also added this user as the owner to the subscriptions i had. I now login as this into the new portal. I can see the subscription that i have. However i do not see the icon for Azure ActiveDirectory. Therefore i try to login to the old portal. This time I get stopped by a "No subscriptions found" prompt which does not let me for farther. What is going on? why is