You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is the same behavior reproducible when calling the API directly through Graph Explorer? If so, please open a question/ticket at https://developer.microsoft.com/en-us/graph/support as this is a service issue. Otherwise, please share the -Debug output of the command.
The issue is due to how Invoke-MgGraphRequest serializes the request body. We will review and provide a patch in our upcoming releases. See -DeBug output:
➜ $NewFolder=Invoke-MgGraphRequest-Uri "https://graph.microsoft.com/v1.0/groups/003565e9-11d7-4c35-a5cc-c6d0a2c90a2d/drive/items/root/children"-Method POST -Body $params-Debug
VERBOSE: POST https://graph.microsoft.com/v1.0/groups/003565e9-11d7-4c35-a5cc-c6d0a2c90a2d/drive/items/root/children with 74-byte payload
Confirm
Continue with this operation?
[Y] Yes [A] Yes to All [H] Halt Command [S] Suspend [?] Help (default is "Y"): A
DEBUG: POST /v1.0/groups/003565e9-11d7-4c35-a5cc-c6d0a2c90a2d/drive/items/root/children HTTP/1.1
HTTP: graph.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Microsoft Windows 10.0.22621; en-US) PowerShell/7.3.1Invoke-MgGraphRequest
Content-Length: 74
Content-Type: application/json
{"folder":{},"name":"Fold�r","@microsoft.graph.conflictBehavior":"rename"}
I am on linux with Powershel 7.3 and Microsoft Graph SDK 1.20.
When creating folder the non accented letters get changed to something else and I am unable to figure it out.
The text was updated successfully, but these errors were encountered: