Blocking lab VM’s outbound communication

Mayumi Nakayama (CONVERGYS CORPORATION) 21 Reputation points Microsoft Vendor
2022-12-28T07:38:49.74+00:00

I’m trying to block all outbound communications on the lab VM’s Windows Firewall.

But the below public information states that we need to unblock Azure in order to use Azure Lab’s auto-shutdown.

https://learn.microsoft.com/en-us/azure/lab-services/administrator-guide#content-filtering

Please tell me the IP addresses that we need to unblock when using Azure Lab auto-shutdown as well as how to unblock them.

Also, can we use Azure Lab Services if we turn all the auto-shutdown settings off even if we have blocked all outbound communications on the lab VM’s Windows Firewall?

Thanks in advance.

Azure Lab Services
Azure Lab Services
An Azure service that is used to set up labs for classrooms, trials, development and testing, and other scenarios.
281 questions
{count} votes

Accepted answer
  1. KarishmaTiwari-MSFT 18,527 Reputation points Microsoft Employee
    2023-01-10T02:27:23.207+00:00

    Hi @Mayumi Nakayama (CONVERGYS CORPORATION) , Thanks for your patience on this while I was confirming with the Product team.

    Which IP addresses that we need to unblock when using Azure Lab auto-shutdown as well as how to unblock them?

    Azure Guest Agent: This is built-in to Azure networking that is not 'blockable'. If the customer is blocking some other way (like 3rd party software on the VM), they must allow the agent to call out. (that's how Azure knows a VM has gone from 'starting' to 'running', for example.) You can read more about the agent here: Azure Virtual Machine Agent Overview - Azure Virtual Machines | Microsoft Learn . In this doc, you will see that IP 168.63.129.16 must be allowed.

    Can we use Azure Lab Services if we turn all the auto-shutdown settings off even if we have blocked all outbound communications on the lab VM’s Windows Firewall?
    After we have whitelisted the IP that will allow access to the Azure platform resources, this would enable using of Azure Lab Services as well.

    Let me know if you have further questions in the comments and I will be happy to investigate. Thanks.


    Please 'Accept as Answer' if it helped, so that it can help others in the community looking for help on the same topic. If you have any further query, do let us know in the comments.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Mayumi Nakayama (CONVERGYS CORPORATION) 21 Reputation points Microsoft Vendor
    2023-01-18T00:11:05.16+00:00

    Thank you for your reply.

    0 comments No comments