Hi,
I have a script that was running smoothly for months and is using the PowerPlatform CLI.
It's used in a DevOps pipeline and it uses the variables defined on that pipeline.
pac auth create --url "$(URL_DEV)" --applicationId "$(CE_ClientId)" --clientSecret "$(CE_ClientSecret)" --tenant "$(CE_TenantId)"
However, recently we rotated the secrets of our AAD applications and the new secret now starts with a dash ('-') sign.
Since then, the auth request fails with this error message (where -XXXXXXXXXXXX is in fact my secret including leading dash sign) :
Error: An unknown argument -XXXXXXXXXXXX was passed.
I tried escaping it with '`' but the problem remains.
Any idea's?
Regards,
Sven Peeters

Report
All responses (
Answers (