Edit

Configure service tag access in Azure Network Security Perimeter

In this article, you learn how to configure an inbound access rule that uses an Azure service tag in a network security perimeter profile. A service tag represents a group of IP address prefixes for an Azure service. Microsoft manages and automatically updates these prefixes as addresses change.

Note

Service tags can include traffic from multiple Microsoft-owned service instances. Evaluate whether service tag-based access meets your security requirements, and use it only where broader service-level trust is acceptable. For stricter network isolation, consider more granular access controls, such as specific IP ranges and subscriptions. Service tags can represent multitenant workloads and might run third‑party or untrusted code, and might expose your resources to associated risks.

Prerequisites

Configure an inbound access rule

  1. In the Azure portal, search for and select Network security perimeters.

  2. Select the network security perimeter that you want to configure.

  3. Select Profiles, and then select the profile that you want to configure.

  4. Select Inbound access rules, and then select + Add.

  5. For Source type, select Service Tag.

    Screenshot of selecting Service Tag as the source type for a network security perimeter inbound access rule.

  6. Select a service tag. The list shows only supported, generally available service tags. Examples include:

    • PowerPlatform
    • AzureMonitor
    • AzureDatabricks
    • MicrosoftDiscoveryService
    • Storage.WestUS

    Screenshot of available service tags for a network security perimeter inbound access rule.

  7. Configure the remaining rule settings. The following table shows an example:

    Property Value
    Rule name Allow-PowerPlatform
    Source type Service Tag
    Service tag PowerPlatform
    Action Allow
    Profile defaultProfile
  8. Select Add to save the rule.

Verify the inbound access rule

On the profile page, select Inbound access rules and confirm that the new rule appears in the list. Test connectivity from the selected Azure service, and review the network security perimeter access logs to confirm that the expected traffic is allowed.

Best practices

  • Use the narrowest service tag that meets your requirements.
  • Prefer a regional service tag when one is available.
  • Validate connectivity in Transition mode before you use Enforced mode.
  • Review network security perimeter access logs after deployment.
  • Remove redundant CIDR rules after you validate the service tag-based rule.

Troubleshooting

Issue Resolution
Traffic is blocked. Verify that you selected the correct service tag.
The rule exists, but connectivity fails. Confirm that the source IP address belongs to the selected service tag.
A service tag doesn't appear in the list. The service tag might not be supported for network security perimeter inbound access rules.
Traffic works in Transition mode but not in Enforced mode. Review the network security perimeter access logs and add any missing access rules.

Limitations

  • You can configure service tag-based inbound access rules for Azure Key Vault, Azure Monitor, Azure AI Search, Azure Event Hubs, and Azure Service Bus resources associated with a network security perimeter. For the complete list of resource providers supported by network security perimeter, see Onboarded private link resources.
  • Not all service tags can be used as inbound rules in Network security perimeter. Be careful when using service tags as inbound rules and use the right and applicable tags.
  • Azure Storage currently doesn't support service tags as inbound access rules. While some access scenarios might appear to work when using service tag-based rules, other scenarios might fail or behave inconsistently. To avoid unexpected access issues, don't use service tags to control inbound access to Azure Storage resources. Doing so might result in inconsistent behavior and unreliable connectivity.

Note

One exception is Azure Storage used for Azure Databricks as noted in the Configure a firewall for serverless compute access documentation.

Frequently asked questions

Do I still need to manage IP addresses?

No. Microsoft automatically updates the IP address prefixes associated with a service tag.

Can I use regional service tags?

Yes. Use a regional service tag when one is available.

Can I continue to use CIDR rules?

Yes. Service tags complement existing network security perimeter inbound rule capabilities.

Next steps