Jun 02 2022 04:23 AM - edited Jun 02 2022 04:27 AM
We're running the HCW (v. 17.0.8347.0) to update our certificate and getting an error during the free/busy portion. It completes the on-prem command fine, however when it attempts to do the tenant command it fails:
HCW0 - Powershell failed to invoke 'Set-OrganizationRelationship': A parameter cannot be found that matches parameter name 'TargetSharingEpr'.
The command it's trying to run (with our info omitted) is:
Set-OrganizationRelationship -TargetSharingEpr $null -TargetOwaURL <ourURL> -Identity <our Identity>
I checked, and the on-prem Exchange commandlet for Set-OrganizationRelationship does have that parameter, however when you connect to Exchange-Online it does not, which is where I think this is failing.
According to the logs the "OnPremises" Session runs without issue, but the "Tenant" Session is what is failing.
We didn't get this in a previous version of the HCW, is there a chance that this part of the Powershell code was updated by mistake? Is there a way to tell it to skip this command especially since it's not actually going to be making a change?
Jun 09 2022 12:51 PM
Oct 18 2022 06:47 AM
@I_tried Hello, do you know which roll permission was needed to get this to work for you? I am running into the same situation and everything I have found elsewhere has not worked.
Thanks
Oct 18 2022 07:14 AM
Oct 18 2022 09:52 AM
Feb 28 2023 01:06 AM