Forum Discussion

SHollist's avatar
SHollist
Copper Contributor
Dec 10, 2021

Set TargetOWAURL back to "None".

I have found lots of references to setting the "TargetOWAurl" setting with this command:

 

Set-OrganizationRelationship -Identity "[identity name]" -TargetOWAUrl https://outlook.com/owa/[domain]. 

 

I'm trying to set it back to the default of "None" so it will no longer have a URL set. However, trying to set it to "None" or "" or blank or Null, gives an error that basically says it's not a valid URL.

 

Is there a way to set it back to the default of "None"?

 

Now that it's broken for Exchange 2013 due to the recent November security Updates, I have a manager that insists we remove any "remnants and artifacts", but I cannot find a way to do this. Any help would be apricated.

  • Words like Null or None in a PowerShell script when in PowerShell are simply Strings. PowerShell will consider Null is value of URL that you want to specify.

    Run the following command by using $Null instead:
    Set-OrganizationRelationship -Identity "[identity name]" -TargetOWAUrl $Null
  • Words like Null or None in a PowerShell script when in PowerShell are simply Strings. PowerShell will consider Null is value of URL that you want to specify.

    Run the following command by using $Null instead:
    Set-OrganizationRelationship -Identity "[identity name]" -TargetOWAUrl $Null

Resources