# Azure BYOA Resource Provider Registration

Before creating a new Azure BYOA subscription on Tessell, make sure that the Azure subscription getting onboarded has the following resource providers pre-registered.

1. Create a file named `providers.txt` with the following content.

{% code lineNumbers="true" %}

```shellscript
Microsoft.ADHybridHealthService
Microsoft.Advisor
Microsoft.Authorization
Microsoft.Billing
Microsoft.ChangeAnalysis
Microsoft.ClassicSubscription
Microsoft.Commerce
Microsoft.Compute
Microsoft.Consumption
Microsoft.CostManagement
Microsoft.Features
Microsoft.KeyVault
Microsoft.ManagedIdentity
Microsoft.MarketplaceOrdering
Microsoft.Network
Microsoft.OperationalInsights
Microsoft.Portal
Microsoft.ResourceGraph
Microsoft.ResourceHealth
Microsoft.Resources
Microsoft.SerialConsole
Microsoft.SqlVirtualMachine
Microsoft.Storage
microsoft.support
microsoft.insights
```

{% endcode %}

2. Log in to the Azure tenant.

{% code lineNumbers="true" %}

```shellscript
az login
```

{% endcode %}

3. Run the following command to register required providers.

{% code lineNumbers="true" %}

```shellscript
cat providers.txt | xargs -I '{}' az provider register --namespace '{}' --subscription <subscription-id>
```

{% endcode %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tessell.com/tessell/governance/subscriptions/azure-byoa-resource-provider-registration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
