Azure-Samples / active-directory-aspnetcore-webapp-openidconnect-v2

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

Closed glensouza closed 7 months ago

glensouza commented 9 months ago

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: