msgraph-sdk-powershell icon indicating copy to clipboard operation
msgraph-sdk-powershell copied to clipboard

Connect-MgGraph doesn't support app ID + secret

Open Nazul opened this issue 3 years ago • 1 comments

We cannot use Connect-MgGraph with an app/client ID and secret, just certificates.

There was an old issue saying that was going to be considered for the GA release, but it's still missing. https://github.com/microsoftgraph/msgraph-sdk-powershell/issues/242

Is this still considered to be included? Secrets, although not the best practice, are still present in app registrations and other Graph SDKs.

Nazul avatar May 24 '22 21:05 Nazul

@maisarissi to you on support for this.

ddyett avatar Jun 16 '22 15:06 ddyett

Client secret is now supported in v2 - https://github.com/microsoftgraph/msgraph-sdk-powershell/blob/features/2.0/docs/upgrade-to-v2.md#client-secret-credentials.

peombwa avatar May 26 '23 16:05 peombwa