azure-docs icon indicating copy to clipboard operation
azure-docs copied to clipboard

The "Register an app by using PowerShell" doesn't show how to do it with PowerShell

Open psignoret opened this issue 3 years ago • 8 comments

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.

psignoret avatar Apr 22 '22 21:04 psignoret

@psignoret Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

JamesTran-MSFT avatar Apr 22 '22 21:04 JamesTran-MSFT

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.)

jmprieur avatar Nov 29 '22 03:11 jmprieur

#please-close

jmprieur avatar Nov 29 '22 03:11 jmprieur

@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.

psignoret avatar Nov 30 '22 16:11 psignoret

#please-open

psignoret avatar Nov 30 '22 16:11 psignoret

Ok. I understand Do you have any link on how to do @psignoret ? cc: @kalyankrishna1

jmprieur avatar Nov 30 '22 23:11 jmprieur

@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.

psignoret avatar Dec 01 '22 16:12 psignoret

@jmprieur , please approve this PR - https://github.com/Azure-Samples/active-directory-aspnetcore-webapp-openidconnect-v2/pull/641

kalyankrishna1 avatar Dec 01 '22 16:12 kalyankrishna1