--- title: "Assigning a Static Private IP to a VM in Azure" slug: "assigning-a-static-private-ip-to-a-vm-in-azure" updated: 2024-07-16T13:09:44Z published: 2024-07-16T13:09:44Z canonical: "docs.workspot.com/assigning-a-static-private-ip-to-a-vm-in-azure" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.workspot.com/llms.txt > Use this file to discover all available pages before exploring further. # Assigning a Static Private IP to a VM in Azure ### Use Case: Occasionally, an application necessitates a fixed IP address to hold a license, or a customer wants to enforce access through an IP address. In such cases, customers may find it necessary to assign a static IP to a Workspot Desktops. By default, Workspot desktops have a dynamic IP address assigned. ### Steps to assign a Static Private IP address to a VM: - Login to the Azure portal [https://portal.Azure.com](https://portal.azure.com/). - Locate the NIC of the resource that requires Static IP. Please make sure the resource is in the stopped state. - Select IP Configurations under settings. - Click on “ipv4config”, on the right “Edit IP Configuration” page to static IP address. ![](https://cdn.us.document360.io/ad9153e1-c8de-4f56-94f2-b717a1fc3a68/Images/Documentation/bd4d1b5e-73d4-47b4-80fb-52884af3c365.png) - After these changes have been made, click Save to apply the new configuration.