Skip to content

Can't create sharepoint folder with non ascii character in the name #1757

@pvagner

Description

@pvagner

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.

$params = @{
    "name" = "Foldér"
    "folder" = @{}
    "@microsoft.graph.conflictBehavior" = "rename"
}
$NewFolder = Invoke-MgGraphRequest -Uri "https://graph.microsoft.com/v1.0/groups/$($newGroup.id)/drive/items/root/children" -Method POST -Body $params
$params.name
Foldér
$newFolder.name
Fold�r

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions