An ASP.NET Core Web App which lets sign-in users (including in your org, many orgs, orgs + personal accounts, sovereign clouds) and call Web APIs (including Microsoft Graph)
MIT License
1.37k
stars
983
forks
source link
fix a couple of lines of code that no longer work #745
This pull request modifies the code in the AppCreationScripts directory to use the Microsoft Graph API for retrieving and updating user information. The most important changes include updating the userPrincipalName variable and passing the correct value for the BodyParameter parameter of the New-MgApplicationOwnerByRef cmdlet.
This pull request modifies the code in the AppCreationScripts directory to use the Microsoft Graph API for retrieving and updating user information. The most important changes include updating the userPrincipalName variable and passing the correct value for the BodyParameter parameter of the New-MgApplicationOwnerByRef cmdlet.
Main code modifications:
4-WebApp-your-API/4-3-AnyOrg/AppCreationScripts/Configure.ps1
: Modified the code to use the Microsoft Graph API to get the current user's information and update the userPrincipalName variable. [1] [2]4-WebApp-your-API/4-3-AnyOrg/AppCreationScripts/Configure.ps1
: Updated the code comment to provide a more accurate description of the azureEnvironmentName variable.4-WebApp-your-API/4-3-AnyOrg/AppCreationScripts/Configure.ps1
: Modified the code to pass the correct value for the BodyParameter parameter of the New-MgApplicationOwnerByRef cmdlet.4-WebApp-your-API/4-3-AnyOrg/AppCreationScripts/Cleanup.ps1
: Modified the code to use the Microsoft Graph API to retrieve the current user's information instead of using theGet-MgUser
cmdlet.