We’ve all been there, you created that Bitlocker policy (other policies are available) years ago, it’s working fine, but you can’t remember which section you created it in.
You could click around in the portal until you find it, or you could run my latest script:
Install-Script -Name intune-findby-name
Also available on Github here
Simply run intune-findby-name.ps1 -name “App/Script/Policy/Whatever Name”
It will output:
The ID, URI and what it is:
As usual, there is a variable you can switch if you want to use an App Registration and run with automation, or just run manually from the command line.
You could use this to delete policies by calling a DELETE Graph command on the URI or just as a better search option.
It will also be added into the copy-policy script to be able to quickly copy by name rather than using the GUI