Cannot use API or Power Platform Build Tasks to call RefreshChangesFromGit, and PullChangesFromGit. #1202
Unanswered
kfallstrom
asked this question in
Q&A
Replies: 1 comment
-
|
I notice the actions are now available, did you get them working? Even though by all accounts everything is setup as required and I can refresh via the power platform UI fine but the api fails, there is no allowance for a branch name in the action request so I assume it uses the pre-established git connection...however all I get is this:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Per this documentation: https://learn.microsoft.com/en-us/power-platform/alm/git-integration/faqs
It should be possible to call
CommitToGit,RefreshChangesFromGit, andPullChangesFromGitvia the WebAPI.In order to use and automate the rehydration of environments integrated with git, these Actions are essential, as we need to be able to sync an environment with a codebase in order to export managed/unmanaged solutions from it for deployment.
However, the current Dataverse reference does not include
RefreshChangesFromGitorPullChangeFromGit: https://learn.microsoft.com/en-us/power-apps/developer/data-platform/webapi/reference/actions?view=dataverse-latestCould someone please let me know if these API tasks were present and have been removed or what the current CI/CD approach might be for calling these Actions from an Azure Devops Pipeline?
Beta Was this translation helpful? Give feedback.
All reactions