Giter VIP home page Giter VIP logo

Comments (19)

daltondhcp avatar daltondhcp commented on June 3, 2024 2

I have now been able to reproduce the issue in my environment with certain settings. Will work on creating a fix.

from industry.

LocDaiLeFromTwoMany avatar LocDaiLeFromTwoMany commented on June 3, 2024 1

Apologies for the late reply. Per User plan should be sufficient as long as you have enough capacity. Are you able to create new environments manually in Power Platform Admin Center?

@daltondhcp how much capcity is needed? Yes I can create environments manually.

image

from industry.

LocDaiLeFromTwoMany avatar LocDaiLeFromTwoMany commented on June 3, 2024 1

Perfect, that should absolutely be sufficient. Can you please share the log output in text format from the deployment script (couldn't see it all in the screenshot)

Here is the raw error of the deployment.
{ "code": "DeploymentFailed", "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.", "details": [ { "code": "DeploymentScriptOperationFailed", "message": "Object reference not set to an instance of an object." } ] }

I was more referring to this output from the deploymentscript, including the script execution parameters image

Sorry. Here it is.

-PPGuestMakerSetting yes -PPAppSharingSetting yes -PPEnvCreationSetting yes -PPTrialEnvCreationSetting yes -PPEnvCapacitySetting yes -PPTenantDLP high -PPTenantIsolationSetting none -PPTenantIsolationDomains '' -PPAdminEnvEnablement yes -PPAdminEnvNaming namconadminenv -PPAdminBilling yes -PPAdminRegion europe -PPAdminCoeSetting no -PPAdminDlp yes -PPAdminManagedEnv yes -PPDefaultRenameText Personal -PPDefaultDLP yes -PPDefaultManagedEnv yes -PPDefaultManagedSharing yes -PPCitizen yes -PPCitizenConfiguration null -PPCitizenCount 1 -PPCitizenNaming namconcitizendevenv -PPCitizenDescription desccitizendevenv -PPCitizenLanguage 1030 -PPCitizenCurrency dkk -PPCitizenRegion europe -PPCitizenDlp yes -PPCitizenManagedEnv yes -PPCitizenBilling yes -PPCitizenAlm yes -PPPro yes -PPProConfiguration null -PPProCount 1 -PPProNaming namconprodevenv -PPProDescription descprodevenv -PPProLanguage 1030 -PPProCurrency dkk -PPProRegion europe -PPProDlp yes -PPProManagedEnv yes -PPProBilling yes -PPProAlm yes -PPSelectIndustry none -PPIndustryNaming namconindustryenv -PPIndustryRegion europe -PPIndustryManagedEnv yes -PPIndustryAlm yes -PPIndustryBilling yes

from industry.

krnese avatar krnese commented on June 3, 2024

@daltondhcp can you please have a look?

from industry.

daltondhcp avatar daltondhcp commented on June 3, 2024

@LocDaiLeFromTwoMany - I did some debugging in the backend it indicates that there are no Power Platform licenses in the tenant. Can you confirm that you have that?

from industry.

LocDaiLeFromTwoMany avatar LocDaiLeFromTwoMany commented on June 3, 2024

@LocDaiLeFromTwoMany - I did some debugging in the backend it indicates that there are no Power Platform licenses in the tenant. Can you confirm that you have that?

@daltondhcp - I'm not sure which licenses you are referencing to. My account has Power Apps pr. user plan. that is maybe not it?

image

from industry.

daltondhcp avatar daltondhcp commented on June 3, 2024

Apologies for the late reply.
Per User plan should be sufficient as long as you have enough capacity. Are you able to create new environments manually in Power Platform Admin Center?

from industry.

daltondhcp avatar daltondhcp commented on June 3, 2024

Perfect, that should absolutely be sufficient. Can you please share the log output in text format from the deployment script (couldn't see it all in the screenshot)

from industry.

LocDaiLeFromTwoMany avatar LocDaiLeFromTwoMany commented on June 3, 2024

Perfect, that should absolutely be sufficient. Can you please share the log output in text format from the deployment script (couldn't see it all in the screenshot)

Here is the raw error of the deployment.

{ "code": "DeploymentFailed", "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.", "details": [ { "code": "DeploymentScriptOperationFailed", "message": "Object reference not set to an instance of an object." } ] }

from industry.

daltondhcp avatar daltondhcp commented on June 3, 2024

Perfect, that should absolutely be sufficient. Can you please share the log output in text format from the deployment script (couldn't see it all in the screenshot)

Here is the raw error of the deployment.

{ "code": "DeploymentFailed", "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.", "details": [ { "code": "DeploymentScriptOperationFailed", "message": "Object reference not set to an instance of an object." } ] }

I was more referring to this output from the deploymentscript, including the script execution parameters
image

from industry.

daltondhcp avatar daltondhcp commented on June 3, 2024

Did you get any additional insights/output below the parameters?

I have tested the same deployment with above parameters in my test environment successfully. Would you mind retry the deployment to ensure it wasn't a temporary issue.

from industry.

LocDaiLeFromTwoMany avatar LocDaiLeFromTwoMany commented on June 3, 2024

Did you get any additional insights/output below the parameters?

I have tested the same deployment with above parameters in my test environment successfully. Would you mind retry the deployment to ensure it wasn't a temporary issue.

Still the same outcome

image

from industry.

LocDaiLeFromTwoMany avatar LocDaiLeFromTwoMany commented on June 3, 2024

image
image
image
image

from industry.

daltondhcp avatar daltondhcp commented on June 3, 2024

Can you also confirm that the User Managed Identity are added as an admin application (as per prereq https://github.com/microsoft/industry/tree/main/foundations/powerPlatform/referenceImplementation#pre-requisites)? Also, if you scroll through the console output, can you verify if there's more info there than what you shared with the screenshot? (if you can scroll down)

from industry.

MarvinBangert avatar MarvinBangert commented on June 3, 2024

Hi @daltondhcp,
I face the same issue as @LocDaiLeFromTwoMany, running the PowerShell locally with the same inputs works fine, the User Managed Identity is registered as described by the article:
image

Within the Deployment Script I can see the following message inside the logs:

Executing script: .\nsPowerPlatform.ps1 -PPGuestMakerSetting yes -PPAppSharingSetting yes -PPEnvCreationSetting yes -PPTrialEnvCreationSetting yes -PPEnvCapacitySetting yes -PPTenantDLP low -PPTenantIsolationSetting both -PPTenantIsolationDomains '' -PPAdminEnvEnablement yes -PPAdminEnvNaming Admin -PPAdminBilling no -PPAdminRegion europe -PPAdminCoeSetting no -PPAdminDlp yes -PPAdminManagedEnv yes -PPDefaultRenameText Personal -PPDefaultDLP yes -PPDefaultManagedEnv yes -PPDefaultManagedSharing yes -PPCitizen yes -PPCitizenConfiguration null -PPCitizenCount 1 -PPCitizenNaming LowDev -PPCitizenDescription '' -PPCitizenLanguage 1033 -PPCitizenCurrency eur -PPCitizenRegion europe -PPCitizenDlp yes -PPCitizenManagedEnv yes -PPCitizenBilling no -PPCitizenAlm no -PPPro yes -PPProConfiguration null -PPProCount 1 -PPProNaming ProDev -PPProDescription '' -PPProLanguage 1033 -PPProCurrency eur -PPProRegion europe -PPProDlp yes -PPProManagedEnv yes -PPProBilling no -PPProAlm no -PPSelectIndustry none -PPIndustryNaming '' -PPIndustryRegion unitedstates -PPIndustryManagedEnv no -PPIndustryAlm no -PPIndustryBilling ''
�[33;1mWARNING: Resulting JSON is truncated as serialization has exceeded the set depth of 2.�[0m

from industry.

LocDaiLeFromTwoMany avatar LocDaiLeFromTwoMany commented on June 3, 2024

I have now been able to reproduce the issue in my environment with certain settings. Will work on creating a fix.

Do you have an ETA for the fix?

from industry.

daltondhcp avatar daltondhcp commented on June 3, 2024

We have nailed it down to issues/changes with deploymentScripts execution (as earlier identified), yet to find a solution. As a workaround, you can execute the script manually with the same parameters as mentioned earlier in the thread.

from industry.

vrugelda avatar vrugelda commented on June 3, 2024

Any update on fix for the issue? Same problem from my tests.

from industry.

daltondhcp avatar daltondhcp commented on June 3, 2024

Sorry for the delayed response. This should now be resolved, please verify and let us know if there are still any issues. The issue was an Az.Accounts module dependency in the DeploymentScripts execution environment.

from industry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.