An Azure network security service that is used to protect Azure Virtual Network resources.
Hello Trish Wood
The Azure Front Door Connectivity Diagnostics Tool you’re using is really just a PowerShell script under the covers, so if it “won’t run” it’s almost always one of these environment issues:
- PowerShell version
- Run
$PSVersionTable.PSVersion. You need at least Windows PowerShell 5.1 or PowerShell 7.x.
- Run
- Execution policy
- If
Get-ExecutionPolicyreturns Restricted, do:Set-ExecutionPolicy RemoteSigned -Scope Process
- If
- Unblock the downloaded files
- Right-click the PSTools.zip you downloaded, choose Properties, click Unblock, then extract.
- Also unblock any .ps1 files before running:
Unblock-File -Path .\Update-IntuneEndpoints.ps1(or whatever the script is named).
- Run in an elevated session
- Open PowerShell as Administrator,
cdinto the folder, then execute the script with.\Update-IntuneEndpoints.ps1(or via PsExec if that’s how the tool is designed).
- Open PowerShell as Administrator,
If you’re still seeing errors, here are a couple of alternatives to get your firewall updated:
- Manually allow all Intune service endpoints (FQDNs and IP ranges) through your firewall by using the “Intune network configuration requirements and bandwidth” documentation.
- Use the Az.FrontDoor PowerShell cmdlet instead of the downloadable script:
-
Install-Module Az.FrontDoor -Scope CurrentUser -
Connect-AzAccount -
Test-AzFrontDoorConnectivity -ResourceGroupName '<yourRG>' -FrontDoorName '<yourFDName>' -SubscriptionId '<yourSubID>'
Hope that helps unblock you! If it’s still failing, could you please share:
- The exact error message or output you see when you run the .ps1
- Your PowerShell version (
$PSVersionTable) - Your execution policy (
Get-ExecutionPolicy -List) - The OS version you’re on and whether any AppLocker/antivirus policies might be blocking scripts.
MS docs: Azure Front Door Connectivity Diagnostics Tool
Can you please update us if the action plan provided was helpful?
If these answer your question, click "Upvote" and click "Accept Answer" which may be beneficial to other community members reading this thread.
and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.