1. **GetCrumb** – using `/crumbIssuer/api/json`, which successfully returns the Jenkins Crumb.
2. **TriggerBuild** – using `/job/statement-sit-CD/buildWithParameters` with POST, Content-Type = `application/x-www-form-urlencoded`.
- Crumb is received successfully.
- But the second action returns **Status 500 (Internal Server Error)** from Jenkins.
- Including `Jenkins-Crumb` in headers.
- Adding `token` as query string.
- Changing Content-Type between `application/json` and `application/x-www-form-urlencoded`.
- Using both `/buildWithParameters` and `/build`.
Is there a recommended way to handle Jenkins CSRF Crumbs and tokens in Power Automate?
- Jenkins 2.516.3 (on Rancher / Kubernetes)
- Power Automate Custom Connector (Security type: Basic Auth)
- Using internal LoadBalancer URL for Jenkins

Report
All responses (
Answers (