Skip to content

Commit 3b9ef69

Browse files
authored
Merge pull request #178316 from shizn/patch-9
Add rp registration info
2 parents ae1d09d + 35a2141 commit 3b9ef69

6 files changed

+14
-1
lines changed

articles/service-connector/quickstart-cli-app-service-connection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ The [Azure command-line interface (Azure CLI)](/cli/azure) is a set of commands
2121

2222
- This quickstart assumes that you already have at least an App Service running on Azure. If you don't have an App Service, [create one](../app-service/quickstart-dotnetcore.md).
2323

24-
2524
## View supported target service types
2625

2726
Use the Azure CLI [az webapp connection]() command create and manage service connections to App Service.
2827

2928
```azurecli-interactive
29+
az provider register -n Microsoft.ServiceLinker
3030
az webapp connection list-support-types
3131
```
3232

articles/service-connector/quickstart-cli-spring-cloud-connection.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ The [Azure command-line interface (Azure CLI)](/cli/azure) is a set of commands
2727
Use the Azure CLI [az spring-cloud connection]() command create and manage service connections to your Spring Cloud application.
2828

2929
```azurecli-interactive
30+
az provider register -n Microsoft.ServiceLinker
3031
az spring-cloud connection list-support-types
3132
```
3233

articles/service-connector/tutorial-csharp-webapp-storage-cli.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ az webapp connection create storage-blob -g ServiceConnector-tutorial-rg -n <app
8787
- **Replace** *\<app-name>* with your web app name you used in step 3.
8888
- **Replace** *\<storage-name>* with your storage app name you used in step 4.
8989

90+
> [!NOTE]
91+
> If you see the error message "The subscription is not registered to use Microsoft.ServiceLinker", please run `az provider register -n Microsoft.ServiceLinker` to register the Service Connector resource provider and run the connection command again.
9092
9193
## 6. Run sample code
9294

articles/service-connector/tutorial-django-webapp-postgres-cli.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,7 @@ The resource group, app name, db name are drawn from the cached values. You need
325325
- The command creates settings named "AZURE_POSTGRESQL_HOST", "AZURE_POSTGRESQL_NAME", "AZURE_POSTGRESQL_USER", "AZURE_POSTGRESQL_PASS" as expected by the app code.
326326
- If you forgot your admin credentials, the command would guide you to reset it.
327327

328+
328329
::: zone-end
329330

330331
::: zone pivot="postgres-flexible-server"
@@ -339,6 +340,9 @@ The resource group, app name, db name are drawn from the cached values. You need
339340

340341
::: zone-end
341342

343+
> [!NOTE]
344+
> If you see the error message "The subscription is not registered to use Microsoft.ServiceLinker", please run `az provider register -n Microsoft.ServiceLinker` to register the Service Connector resource provider and run the connection command again.
345+
342346
In your Python code, you access these settings as environment variables with statements like `os.environ.get('AZURE_POSTGRESQL_HOST')`. For more information, see [Access environment variables](../app-service/configure-language-python.md#access-environment-variables).
343347

344348
Having issues? Refer first to the [Troubleshooting guide](../app-service/configure-language-python.md#troubleshooting), otherwise, [let us know](https://aka.ms/DjangoCLITutorialHelp).

articles/service-connector/tutorial-java-spring-confluent-kafka.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@ az spring-cloud connection create confluent-cloud -g <your-spring-cloud-resource
115115
* **Replace** *\<kafka-schema-registry-endpoint>* with your kafka Schema Registry endpoint (the value should be like `https://psrc-xxxx.westus2.azure.confluent.cloud`)
116116
* **Replace** *\<registry-api-key>* and *\<registry-api-secret>* with your kafka Schema Registry API key and secret.
117117

118+
> [!NOTE]
119+
> If you see the error message "The subscription is not registered to use Microsoft.ServiceLinker", please run `az provider register -n Microsoft.ServiceLinker` to register the Service Connector resource provider and run the connection command again.
120+
118121
#### [Portal](#tab/Azure-portal)
119122

120123
Click **Service Connector (Preview)** Select or enter the following settings.

articles/service-connector/tutorial-java-spring-mysql.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ Once your server is created, it comes with the following settings:
108108
az spring-cloud connection create mysql
109109
```
110110
111+
> [!NOTE]
112+
> If you see the error message "The subscription is not registered to use Microsoft.ServiceLinker", please run `az provider register -n Microsoft.ServiceLinker` to register the Service Connector resource provider and run the connection command again.
113+
111114
1. Clone sample code
112115
113116
```bash

0 commit comments

Comments
 (0)