-
Notifications
You must be signed in to change notification settings - Fork 117
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
Sample schemas for UpdateConnectionReferences and UpdateEnvironmentVariables #324
Comments
@westerdaled : I think, this is what you are looking for. |
Hi @WaelHamze Firstly, I apologize for taking so long in replying - I thought I had. To give you an update we did attempt the JSON format you suggest but we experienced limited success. Instead, we created a couple of variables EnvironmentVarJson
ConnectionsRefJson
These variables we use to update
Now I would prefer your format and would be happy to retry using it a solution I am currently working with. Also, |
@CrmDev23 @WaelHamze We get error when updating the connection reference in managed solution and unmanaged |
We did a couple thing to get successful automated deployments. Firstly, we ensured that all solutions used only their set of connection references, so they could be upgraded and uninstalled independently. Then you have the pre-steps as outlined above using the format for both environment vars and connection references. Finally, ensure your system account used for deployment has the System Admin security role. MS is promoting the alternative PowerPlatform Pipelines. It may suit you if you have a budget for per app or per user premium accounts as these allow access to managed environments. |
Are there any known samples for the above. So far, we have on found this inelegant format to work and not what is shown in the official guidance: prepopulate connection references
The text was updated successfully, but these errors were encountered: