Forum Discussion
eeri1540
May 07, 2019Copper Contributor
Unable to Set-MailboxFolderPermission
Unable to Set-MailboxFolderPermission example@test.fi -user Default -accessrights reviewer. Error message says that "There is no existing permission entry found for user".. We think this is because o...
- May 10, 2019
Ok, Thanks. Issue resolved.
First "Set-Culture -CultureInfo en-us" and then open new powershell session.
$modules = @(Get-ChildItem -Path "$($env:LOCALAPPDATA)\Apps\2.0" -Filter "Microsoft.Exchange.Management.ExoPowershellModule.manifest" -Recurse )$moduleName = Join-Path $modules[0].Directory.FullName "Microsoft.Exchange.Management.ExoPowershellModule.dll"Import-Module -FullyQualifiedName $moduleName -Force$scriptName = Join-Path $modules[0].Directory.FullName "CreateExoPSSession.ps1". $scriptName$null = Connect-EXOPSSessionKey here is to open new powershell session else Set-Culture does not work.
VasilMichev
May 09, 2019MVP
Well, for some reason the culture cmdlets don't seem to work on my machine, but try using Set-Culture first before running the cmdlet. Or just use an English box :)
eeri1540
May 10, 2019Copper Contributor
Ok, Thanks. Issue resolved.
First "Set-Culture -CultureInfo en-us" and then open new powershell session.
$modules = @(Get-ChildItem -Path "$($env:LOCALAPPDATA)\Apps\2.0" -Filter "Microsoft.Exchange.Management.ExoPowershellModule.manifest" -Recurse )
$moduleName = Join-Path $modules[0].Directory.FullName "Microsoft.Exchange.Management.ExoPowershellModule.dll"
Import-Module -FullyQualifiedName $moduleName -Force
$scriptName = Join-Path $modules[0].Directory.FullName "CreateExoPSSession.ps1"
. $scriptName
$null = Connect-EXOPSSession
Key here is to open new powershell session else Set-Culture does not work.