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
Describe the bug
Trying to use Get-GSOrganizationalUnit -SearchBase '/Gloppen kommune/Breim skule' -SearchScope Base fails with errror:
Get-GSOrganizationalUnit : Exception calling "Execute" with "0" argument(s): "Google.Apis.Requests.RequestError
Org unit not found [404]
Errors [
Message[Org unit not found] Location[ - ] Reason[notFound] Domain[global]
]
"
At line:1 char:1
This is not related to white-space, I get this on all sub-levels, also when there is no white-space.
This also causes Update-GSOrganizationalUnit to fail on sub-level org-units
Describe the bug
Trying to use Get-GSOrganizationalUnit -SearchBase '/Gloppen kommune/Breim skule' -SearchScope Base fails with errror:
Searching for the same OU using Get-GSOrganizationalUnit -SearchBase 'id:03ph8a2z39nmgi7' -SearchScope Base
works like expected.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Same result when using OU path and OU-id in SearchBase
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context
Suspect issue to be connected to white space in OU paths, but not confirmed
The text was updated successfully, but these errors were encountered: