The "Register an app by using PowerShell" doesn't show how to do it with PowerShell
Both Microsoft Graph PowerShell and Azure AD PowerShell can be used to create and configure app registrations. The details on how to do this are missing from this page, under the "Register an app by using PowerShell" section. The warning being shown currently is outdated.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 44113950-5a72-d794-3e50-67dbf17ee6f0
- Version Independent ID: efa9e1fb-ae7a-6d60-256a-30e866f93067
- Content: Register a web app that signs in users - Microsoft identity platform
- Content Source: articles/active-directory/develop/scenario-web-app-sign-user-app-registration.md
- Service: active-directory
- Sub-service: develop
- GitHub Login: @jmprieur
- Microsoft Alias: jmprieur
@psignoret Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.
This is explained in the article (step 1.3 in the ASP.NET Core tutorial. You can generalize this step to web apps in any language.)
#please-close
@jmprieur The text in the "note" box in this article is from April 2019 and continues to be inaccurate and incomplete. The "step 1.3" you link to uses Azure AD PowerShell + the portal, instead of just using Microsoft Graph PowerShell. This should be updated.
#please-open
Ok. I understand Do you have any link on how to do @psignoret ? cc: @kalyankrishna1
@jmprieur I imagine it would be based on New-MgApplication, with different parameter values depending on the platform, like in the instructions for using the portal.
@jmprieur , please approve this PR - https://github.com/Azure-Samples/active-directory-aspnetcore-webapp-openidconnect-v2/pull/641