powershell icon indicating copy to clipboard operation
powershell copied to clipboard

Get-PnPGroupPermissions returns names of permissions in the OS' language

Open NikCharlebois opened this issue 2 years ago • 0 comments

Reporting an Issue or Missing Feature

Issue

Expected behavior

Names of the permissions returned would be in English, or the cmdlet would provide a way to specify locale.

Actual behavior

Permission names are returned in the OS' language. We need to be able to export the current config of a tenant and re-import it onto another tenant. The fact that the names are extracted in, e.g., German, prevents us from re-importing them on another tenant. See issue opened by @andikrueger https://github.com/microsoft/Microsoft365DSC/issues/2036

Steps to reproduce behavior

Run Get-PnPGroupPermissions on a German OS

What is the version of the Cmdlet module you are running?

1.11.0

Which operating system/environment are you running PnP PowerShell on?

  • [ *] Windows
  • [ ] Linux
  • [ ] MacOS
  • [ ] Azure Cloud Shell
  • [ ] Azure Functions
  • [ ] Other : please specify

NikCharlebois avatar Jul 14 '22 12:07 NikCharlebois