SOLVED

Set TargetOWAURL back to "None".

Copper Contributor

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.

2 Replies
best response confirmed by SHollist (Copper Contributor)
Solution
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
Thank you. That worked!
1 best response

Accepted Solutions
best response confirmed by SHollist (Copper Contributor)
Solution
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

View solution in original post