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

-Members should accept ids

Open danielniccoli opened this issue 9 months ago • 2 comments

Is your feature request related to a problem? Please describe the problem.

New-MgGroup … -Members 70b5931c-98e4-4077-8e96-81b7a5b057ff,189d20f0-ab4e-4378-a728-3ea0b6f7b1a0

Returns

Error: "Cannot convert the "d7df1f72-6d53-4667-ba05-90a979412bb8" value of type "System.String" to type "Microsoft.Graph.PowerShell.Models.IMicrosoftGraphDirectoryObject"

Describe the solution you'd like.

I'd like the SDK to handle ids natively.

Additional context?

No response

danielniccoli avatar Feb 12 '25 12:02 danielniccoli