Comments (19)
I have now been able to reproduce the issue in my environment with certain settings. Will work on creating a fix.
from industry.
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.
from industry.
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
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.
@daltondhcp can you please have a look?
from industry.
@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 - 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?
from industry.
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.
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.
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.
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
from industry.
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.
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
from industry.
from industry.
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.
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:
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.
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.
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.
Any update on fix for the issue? Same problem from my tests.
from industry.
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)
- Documentation: management subscriptions block appears twice in reference architecture HOT 1
- FSI Landing Zones on Microsoft Azure documentation
- Documentation: Unable to locate PowerOps module HOT 1
- Bug: Reference implementation assign two polices to Citizen Developer Enviornment HOT 3
- Azure Open AI DINE DNS Policy Issue HOT 3
- Bug: UK South location is not available
- Documentation: FSI readme wrong link - E
- Documentation: AODS->Azure Operator Nexus
- add KV Min Size and LifeTime trigger Policies HOT 1
- Bug: Mistyped domain name for privatelink.sql.azuresynapse.net in the privateDnsPolicyParameterMapping definition
- Retail Churn Model failed
- Feature: Azure Operator Nexus Landing Zones
- Update Firewall policy to match Firewall sku
- Bug: Storage Policies about Min Retention Days and CORs are not effective
- Rename OpenAiPolicySetDefinition to CognitiveServices
- Update Private DNS Resolver to have option for inbound and outbound
- Optional DDoS configuration for public IPs only
- Add option to provide custom BGP communities HOT 1
- Bug: AFO Landing Zone Deployment Issue HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from industry.