Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue deplyoing Azure digital twins Resources with the Powershell #6

Open
Naimas opened this issue Mar 8, 2022 · 2 comments
Open

Comments

@Naimas
Copy link

Naimas commented Mar 8, 2022

Hello , I was following all the instructions on how to deploy the Aure Resources on powershell but when I digit this text
I do not have the same results as in the tutorial description instead I get this message and then the powershell seems stuck in Running endlessly ...

`
Collecting current user information
WARNING: The underlying Active Directory Graph API will be replaced by Microsoft Graph API in a future version of Azure CLI. Please carefully review all breaking changes introduced during this migration: https://docs.microsoft.com/cli/azure/microsoft-graph-migration

Creating app registration manifest

Creating app registration 'UniDT-rg-4b96c371' in Azure Active Directory
WARNING: The underlying Active Directory Graph API will be replaced by Microsoft Graph API in a future version of Azure CLI. Please carefully review all breaking changes introduced during this migration: https://docs.microsoft.com/cli/azure/microsoft-graph-migration
WARNING: The underlying Active Directory Graph API will be replaced by Microsoft Graph API in a future version of Azure CLI. Please carefully review all breaking changes introduced during this migration: https://docs.microsoft.com/cli/azure/microsoft-graph-migration

Creating service principal associated with the app registration
WARNING: The underlying Active Directory Graph API will be replaced by Microsoft Graph API in a future version of Azure CLI. Please carefully review all breaking changes introduced during this migration: https://docs.microsoft.com/cli/azure/microsoft-graph-migration

Creating client secret for app registration
WARNING: The underlying Active Directory Graph API will be replaced by Microsoft Graph API in a future version of Azure CLI. Please carefully review all breaking changes introduced during this migration: https://docs.microsoft.com/cli/azure/microsoft-graph-migration
WARNING: The output includes credentials that you must protect. Be sure that you do not include these credentials in your code or check the credentials into your source control. For more information, see https://aka.ms/azadsp-cli

Creating resource group deployment with id 'UniDT-4b96c371'
WARNING: /home/n/azure-digital-twins-unreal-integration/deployment/azuredeploy.bicep(13,16) : Warning no-loc-expr-outside-params: Use a parameter here instead of 'resourceGroup().location'. 'resourceGroup().location' and 'deployment().location' should only be used as a default value for parameters. [https://aka.ms/bicep/linter/no-loc-expr-outside-params]
/home/n/azure-digital-twins-unreal-integration/deployment/azuredeploy.bicep(93,5) : Warning no-unnecessary-dependson: Remove unnecessary dependsOn entry 'identity'. [https://aka.ms/bicep/linter/no-unnecessary-dependson]
/home/n/azure-digital-twins-unreal-integration/deployment/azuredeploy.bicep(356,5) : Warning no-unnecessary-dependson: Remove unnecessary dependsOn entry 'adt'. [https://aka.ms/bicep/linter/no-unnecessary-dependson]
/home/n/azure-digital-twins-unreal-integration/deployment/azuredeploy.bicep(372,5) : Warning no-unnecessary-dependson: Remove unnecessary dependsOn entry 'funcApp'. [https://aka.ms/bicep/linter/no-unnecessary-dependson]
/home/n/azure-digital-twins-unreal-integration/deployment/azuredeploy.bicep(386,5) : Warning no-unnecessary-dependson: Remove unnecessary dependsOn entry 'iot'. [https://aka.ms/bicep/linter/no-unnecessary-dependson]
/home/n/azure-digital-twins-unreal-integration/deployment/azuredeploy.bicep(413,5) : Warning no-unnecessary-dependson: Remove unnecessary dependsOn entry 'eventGridIngestTopic'. [https://aka.ms/bicep/linter/no-unnecessary-dependson]
/home/n/azure-digital-twins-unreal-integration/deployment/azuredeploy.bicep(461,5) : Warning no-unnecessary-dependson: Remove unnecessary dependsOn entry 'eventGridADTChangeLogTopic'. [https://aka.ms/bicep/linter/no-unnecessary-dependson]
/home/n/azure-digital-twins-unreal-integration/deployment/azuredeploy.bicep(659,5) : Warning no-unnecessary-dependson: Remove unnecessary dependsOn entry 'appserver'. [https://aka.ms/bicep/linter/no-unnecessary-dependson]
/home/n/azure-digital-twins-unreal-integration/deployment/azuredeploy.bicep(660,5) : Warning no-unnecessary-dependson: Remove unnecessary dependsOn entry 'tsiEnvironment'. [https://aka.ms/bicep/linter/no-unnecessary-dependson]
/home/n/azure-digital-twins-unreal-integration/deployment/azuredeploy.bicep(671,5) : Warning no-unnecessary-dependson: Remove unnecessary dependsOn entry 'webApp'. [https://aka.ms/bicep/linter/no-unnecessary-dependson]
/home/n/azure-digital-twins-unreal-integration/deployment/azuredeploy.bicep(699,5) : Warning no-unnecessary-dependson: Remove unnecessary dependsOn entry 'adt'. [https://aka.ms/bicep/linter/no-unnecessary-dependson]
/home/n/azure-digital-twins-unreal-integration/deployment/azuredeploy.bicep(729,5) : Warning no-unnecessary-dependson: Remove unnecessary dependsOn entry 'adt'. [https://aka.ms/bicep/linter/no-unnecessary-dependson]
/home/n/azure-digital-twins-unreal-integration/deployment/azuredeploy.bicep(737,13) : Warning outputs-should-not-contain-secrets: Outputs should not contain secrets. Found possible secret: secure parameter 'appRegPassword' [https://aka.ms/bicep/linter/outputs-should-not-contain-secrets]

\ Running ..`

I am pretty confused now on what to do as this seems to be a wall block ...

Can someone explain me what to do ?
Thanks a lot ...

@jaredholloway94
Copy link
Contributor

@Naimas try rerunning with the ../deploy.ps1 in my pull request #14

@adamlash
Copy link
Collaborator

Hey There,

I have recently made some major changes fixing up a few bugs and issues related to this repo. Feel free to try this again and see if you get the expected outputs.

If there's no reply in 1 week, I'll close off this issue. But feel free to open a new one and I'll get to it ASAP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants