Azure-Samples / azure-digital-twins-unreal-integration

Sample project demonstrating the Unreal Engine plug-in for Azure Digital Twins
https://www.unrealengine.com/marketplace/en-US/product/adtlink-for-unreal-engine
MIT License
92 stars 43 forks source link

Issue deplyoing Azure digital twins Resources with the Powershell #6

Open Naimas opened 2 years ago

Naimas commented 2 years ago

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 commented 2 years ago

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

adamlash commented 1 year ago

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.