@JustinMicheal-7973
Verify that the specified computer name is valid, that the computer is accessible over the network, and that a firewall exception for the WinRM service is enabled and allows access from this computer.
From the above information, we cannot know that, the target URL is blocked by your firewall. You need to check on your firewall, make sure "*. compliance.protection.outlook.com " is allowed on your firewall.
Here are information about other IP addressed that used by Office 365: Office 365 URLs and IP address ranges
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.