Forum Discussion
Disable auto port blocking of unwanted JIT-Policy
Thanks for your reply!
When adding a rule with higher priority, azur creates or updates a rule, to again lock the port after some time.
So I have to remove the JIT access of the VM. When navigating to Microsoft Defender for Cloud, it looks like Microsoft Defender is not even active:
Is there another way to remove the JIT-Access?
You may have some JIT policy that was some how created even when your subscription doesnt have Defender for Servers enabled.
Try to delete that JIT policy using API.
Go to Azure portal API playground by following this link
https://ms.portal.azure.com/#view/Microsoft_Azure_Resources/ArmPlayground
List all the JIT policies under your subscription using the api described here
Find the JIT policy associated with that VM and delete it