azure-active-directory

Is there a way to weaken the permissions of the apps I create on Azure AD?

夙愿已清 提交于 2020-06-28 04:02:14
问题 I created the app on Azure AD. The application works fine. By the way, I wanted to make this app's permissions smaller. First, I want to limit the schedule that this app can view. For example, the application can see user A's schedule, but not user B's schedule, and so on. User A and User B are registered on the same Azure AD. Second, I want to limit the users who can impersonate themselves as email senders. For example, user C can send a mail, but user D can't send a mail. Is there a better

How to give Azure AD application access to required permissions using powershell Az module

人走茶凉 提交于 2020-06-27 20:07:15
问题 I'm trying to rewrite powershell script that creates Azure AD application and assigns permission to it. The script is using AzureAD module, I would like to use new Az module, so I can run it on Linux/MacOS. Creating a new application is easy (New-AzADApplication) but I have a problem with permissions. Old script is using this code to assign permissions: #=============Graph Permissions======================== $req = New-Object -TypeName "Microsoft.Open.AzureAD.Model.RequiredResourceAccess"

How to give Azure AD application access to required permissions using powershell Az module

喜夏-厌秋 提交于 2020-06-27 20:06:04
问题 I'm trying to rewrite powershell script that creates Azure AD application and assigns permission to it. The script is using AzureAD module, I would like to use new Az module, so I can run it on Linux/MacOS. Creating a new application is easy (New-AzADApplication) but I have a problem with permissions. Old script is using this code to assign permissions: #=============Graph Permissions======================== $req = New-Object -TypeName "Microsoft.Open.AzureAD.Model.RequiredResourceAccess"

'Invalid Signature' error for Access Token (azure active directory / msal js)

旧城冷巷雨未停 提交于 2020-06-27 17:31:25
问题 I used MSAL JS for authenticating user & thereafter calling acquireTokenPopup(scopes) for Access Token. I am getting the access token, but cannot use it as it says Invalid Signature . (checked in jwt.io too - same error) Over the forum I found it is due to Graph adding nonce. What will be the solution? Please help. Following is the code. tenantConfig = { scopes: ["directory.read.all"] }; this.clientApplication.acquireTokenSilent(this.tenantConfig.scopes).then( function (accessToken) { },

How to override / substitute Error Page handling when using the Microsoft.AspNetCore.Authentication.AzureADB2C.UI?

▼魔方 西西 提交于 2020-06-27 02:55:04
问题 I am using the Azure AD B2C .Net core Microsoft.AspNetCore.Authentication.AzureADB2C.UI library (installed using NuGet) in a ASP.Net Core 2.2 MVC Web App. I would like to be able to change the Error page, however it ignores any custom or Developer mode error pages. Does anyone know how I can override the error handling and/or any other pages of this library? This is the page (github) that gets returned for any Azure B2C errors. https://github.com/aspnet/AspNetCore/blob/master/src/Azure

How to override / substitute Error Page handling when using the Microsoft.AspNetCore.Authentication.AzureADB2C.UI?

懵懂的女人 提交于 2020-06-27 02:53:16
问题 I am using the Azure AD B2C .Net core Microsoft.AspNetCore.Authentication.AzureADB2C.UI library (installed using NuGet) in a ASP.Net Core 2.2 MVC Web App. I would like to be able to change the Error page, however it ignores any custom or Developer mode error pages. Does anyone know how I can override the error handling and/or any other pages of this library? This is the page (github) that gets returned for any Azure B2C errors. https://github.com/aspnet/AspNetCore/blob/master/src/Azure

How to override / substitute Error Page handling when using the Microsoft.AspNetCore.Authentication.AzureADB2C.UI?

筅森魡賤 提交于 2020-06-27 02:51:08
问题 I am using the Azure AD B2C .Net core Microsoft.AspNetCore.Authentication.AzureADB2C.UI library (installed using NuGet) in a ASP.Net Core 2.2 MVC Web App. I would like to be able to change the Error page, however it ignores any custom or Developer mode error pages. Does anyone know how I can override the error handling and/or any other pages of this library? This is the page (github) that gets returned for any Azure B2C errors. https://github.com/aspnet/AspNetCore/blob/master/src/Azure

Azure Function access private resources

耗尽温柔 提交于 2020-06-26 14:32:48
问题 We have setup an infrastructure on Azure containing Azure AD , VM's etc. We use Azure Active Directory Domain Services to have the servers domain-joined and alsoo for local AD-authentication for some specific applications. I would like to write some custom Azure functions that access the Azure Active Directory Domain Services for querying some specific AD-properties like msDS-UserPasswordExpiryTimeComputed. Those properties are not exposed in Azure AD. Can an Azure function access resources

ErrorGroupsAccessDenied when setting hideFromAddressLists or hideFromOutlookClients

点点圈 提交于 2020-06-23 08:49:27
问题 I have been trying to set the following values on a group using graph using the beta API: { "hideFromOutlookClients": true, "hideFromAddressLists": true } However, I get the following error: { "code": "ErrorGroupsAccessDenied", "message": "User does not have permissions to execute this action." } The application does have the required permissions for updating a Group, in fact, updating a group's description works just fine . These two properties were added a few months back but they seem to

ErrorGroupsAccessDenied when setting hideFromAddressLists or hideFromOutlookClients

给你一囗甜甜゛ 提交于 2020-06-23 08:49:27
问题 I have been trying to set the following values on a group using graph using the beta API: { "hideFromOutlookClients": true, "hideFromAddressLists": true } However, I get the following error: { "code": "ErrorGroupsAccessDenied", "message": "User does not have permissions to execute this action." } The application does have the required permissions for updating a Group, in fact, updating a group's description works just fine . These two properties were added a few months back but they seem to