Hello,
I am currently in process of implementing devops with PowerApps and I have added two tasks in Agent Job as follows:
"PowerApps Export Solution" task :
Solution Name : DevApp1
Solution Output File : DevApp1Solution1.zip
It ran succefully!
Next, PowerApps Unpack Solution Task:
Solution Input File : DevApp1Solution1.zip
Target Folder to Unpack Solution : DevApp1OutPut2Solution.zip
It ran succefully!
Command Line to commit solution to repo:
in AgentJob.
It failed with following errors:
remote: 0000000000aaTF401027: You need the Git 'GenericContribute' permission to perform this action. Details: identity 'Build\59b4af58-e177-4669-a529-cece0ab1f46e', scope 'repository'.
{"$id":"1","innerException":null,"message":"A potentially dangerous Request.Path value was detected from the client (:).","typeName":"System.Web.HttpException, System.Web","typeKey":"HttpException","errorCode":0,"eventId":0}
I have allowed almost all permissions to required groups, however I still facing above error.
Can you please help and suggest what am I doing wrong here?
Thank you in advance!
Regards,
Finally I got it resolved by adding "Project Collection Build Service" user as UI has been changed a little bit now which seems to be doesn't match with the labs documents and therefore I missed it adding this user's contribute permission to set as "Allowed" in repository as mentioned in following screen:
WarrenBelz
791
Most Valuable Professional
MS.Ragavendar
410
mmbr1606
275
Super User 2025 Season 1