microsoft / industry

This repository provides holistic architecture design and reference implementation for industry cloud based on proven success of large scale deployments and at-scale adoption with customers and partners.
MIT License
260 stars 74 forks source link

Bug: Power Platform COE Starter Kit not working when Installing it using Power Platform Landing Zone Ref Implementation #347

Closed abhishekchowdhuryapmnl closed 2 years ago

abhishekchowdhuryapmnl commented 2 years ago

Steps to reproduce

Hi team we are using Reference Architecture and Landing Zones for Power Platform to setup Power Platform COE inside our organization. Hence we are following all the steps given as part of the documentation provided in the following url as pre-requisite required for the process https://github.com/microsoft/industry/blob/main/foundations/powerPlatform/referenceImplementation/readme.md#pre-requisites also we have full admin rights in both the Azure Environment and Dynamics Environment. and then applying the https://aka.ms/ppnorthstar reference Architecture. Feel free to reach out to me abhishek.chowdhury@apg-am.nl

Error Message

We are getting usual exception as provided below
EXCEPTION:
{
• "status": "failed",
• "error": {
• "code": "DeploymentScriptError",
• "message": "The provided script failed with the following error:\r\nMicrosoft.PowerShell.Commands.HttpResponseException: Response status code does not indicate success: 403 (Forbidden).\n at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord)\r\nat Invoke-PowerOpsRequest, /root/.local/share/powershell/Modules/PowerOps/0.1.4/PowerOps.psm1: line 64\r\nat Get-PowerOpsTenantSettings, /root/.local/share/powershell/Modules/PowerOps/0.1.4/PowerOps.psm1: line 327\r\nat , /mnt/azscripts/azscriptinput/nsPowerPlatform.ps1: line 215\r\nat , : line 1\r\nat , /mnt/azscripts/azscriptinput/DeploymentScript.ps1: line 295. Please refer to https://aka.ms/DeploymentScriptsTroubleshoot for more deployment script information."
• }
•}

Screenshots

No response

Code of Conduct

daltondhcp commented 2 years ago

Sorry for the slow response.

The error message indicates that the "Admin Application Registration" for the User Managed Identity has not been done successfully. Can you retry that step please? image

abhishekchowdhuryapmnl commented 2 years ago

HI @daltondhcp thanks for the reply we again retried with all the recommended steps but still no luck. Please see the attached document for the exception and steps followed. Is it possible to do a joined session to find out problem. PPCOE-Steps.pdf

daltondhcp commented 2 years ago

Based on the error message, it looks like your tenant have no Power Platform licenses. Can you confirm that you have PP licenses?

abhishekchowdhuryapmnl commented 2 years ago

Hi @daltondhcp thanks for the reply as per knowledge my infra team has provisioned PP licenses for the environment, but I will check and get back to you.

daltondhcp commented 2 years ago

@abhishekchowdhuryapmnl - did you figure out if you had licenses?

abhishekchowdhuryapmnl commented 2 years ago

Hi @daltondhcp yes you were correct the licenses were not on the specified environment. So I asked the infra to provision licenses for the specified environment and then I will get back to you, if any further progress is made for now I can close this issue and wait for licenses. Thanks for your support.