Skip to content

Commit dd82f53

Browse files
authored
Merge pull request #31 from github/revert-12-add-docs-7-create-environment.md-add-Debugging-the-workflow
Revert "docs(7-create-environment.md): add: Debugging the workflow"
2 parents 1fe6cd8 + 36f9ef2 commit dd82f53

File tree

1 file changed

+0
-63
lines changed

1 file changed

+0
-63
lines changed

content/guided-workshop/exercises/7-create-environment.md

Lines changed: 0 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -210,69 +210,6 @@ You've prepped everything on both Azure and your repository, and created the wor
210210
211211
The workflow will now run and create the resources! This will take several minutes. You may need to refresh the page to see it start running. Once running, you can navigate into the workflow run to view the log and track the progress.
212212
213-
## Debugging the workflow
214-
215-
If you see error messages such as:
216-
217-
```
218-
Code: MissingSubscriptionRegistration
219-
Message: The subscription is not registered to use namespace {resource-provider-namespace}
220-
```
221-
222-
For example:
223-
224-
```
225-
Error: ERROR: ***"status":"Failed",
226-
"error":***"code":"DeploymentFailed",
227-
```
228-
229-
```
230-
"target":"/subscriptions/***/resourceGroups/pets-workshop/providers/Microsoft.Resources/deployments/main",
231-
"message":"At least one resource deployment operation failed.
232-
Please list deployment operations for details.
233-
Please see https://aka.ms/arm-deployment-operations for usage details.",
234-
```
235-
236-
```
237-
"details":[***"code":"MissingSubscriptionRegistration",
238-
"target":"Microsoft.App",
239-
"message":"The subscription is not registered to use namespace 'Microsoft.App'.
240-
See https://aka.ms/rps-not-found for how to register subscriptions."***]
241-
```
242-
243-
```
244-
"details":[***"code":"MissingSubscriptionRegistration",
245-
"target":"Microsoft.ContainerRegistry",
246-
"message":"The subscription is not registered to use namespace 'Microsoft.ContainerRegistry'.
247-
See https://aka.ms/rps-not-found for how to register subscriptions."***]
248-
```
249-
250-
```
251-
"details":[***"code":"MissingSubscriptionRegistration",
252-
"target":"Microsoft.DocumentDB",
253-
"message":"The subscription is not registered to use namespace 'Microsoft.DocumentDB'.
254-
See https://aka.ms/rps-not-found for how to register subscriptions."***]
255-
```
256-
257-
```
258-
"details":[***"code":"MissingSubscriptionRegistration",
259-
"target":"Microsoft.OperationalInsights",
260-
"message":"The subscription is not registered to use namespace 'Microsoft.OperationalInsights'.
261-
See https://aka.ms/rps-not-found for how to register subscriptions."***]
262-
```
263-
264-
You need to register resources via the Azure Portal first.
265-
266-
Specifically, you need to register:
267-
* Microsoft.App
268-
* Microsoft.ContainerRegistry
269-
* Microsoft.DocumentDB
270-
* Microsoft.OperationalInsights
271-
272-
Follow the instructions at
273-
274-
https://learn.microsoft.com/en-us/azure/azure-resource-manager/troubleshooting/error-register-resource-provider?tabs=azure-portal#solution
275-
276213
## Summary and next steps
277214
278215
Congratulations! You have new defined a workflow which uses infrastructure as code (IaC) to create the resources necessary for deployment. This allows you to quickly create a consistent environment, reducing overhead and errors. Let's close everything out by [implementing continuous deployment](8-deployment.md).

0 commit comments

Comments
 (0)