cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
prohannes
New Member

Power Platform CLI - pac always return success

Hey there,
is there a chance to get a valid exit code from pac?
Hidden param or anything like this?

pac always reports "Success" even if an error is show in output (see images). Running pac from a script makes it pretty hard to detect errors...

prohannes_1-1671718358920.png


prohannes_0-1671718210343.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
prohannes
New Member

Please have a look her: PacWrapper.ts 
This offers a way to integrate pac

View solution in original post

2 REPLIES 2
prohannes
New Member

prohannes_0-1671735287718.png

 

prohannes
New Member

Please have a look her: PacWrapper.ts 
This offers a way to integrate pac

Helpful resources

Users online (3,153)