DisableUrlRewrite
Parameter of SafeLinksPolicy
Applies to : Exchange Online
Description
The DisableUrlRewrite parameter specifies whether to rewrite (wrap) URLs in email messages. Valid values are:
- $true: URLs in messages are not rewritten, but messages are still scanned by Safe Links prior to delivery. Time of click checks on links are done using the Safe Links API in supported Outlook clients (currently, Outlook for Windows and Outlook for Mac).
- $false: URLs in messages are rewritten. API checks still occur on unwrapped URLs in supported clients if the user is in a valid Safe Links policy.
In PowerShell, the default value is $false. In new Safe Links policies created in the Microsoft Defender portal, the default value is $true.
Characteristics
- Type
Boolean- Parameter sets
- (All)
Apply
Enter the name of the policy to change.