Forum Discussion
Connecting Fabric Data Agent via Service Principal or Managed Identities
Hi amankaran03,
Thanks for sharing the details. The error message "invalid_deployment" usually occurs when the API deployment linked to the Fabric Data Agent (AI Skill) is not found or temporarily unavailable. This can happen for a few reasons:
Recent Deployment Delay – If the deployment was created or updated recently, it may take a few minutes to fully provision. Try waiting 5–10 minutes and re-triggering the workflow.
Deployment Expiration or Removal – Check if the associated AI/ML deployment or endpoint is still active in your Fabric workspace. Sometimes, deployments get deleted or invalidated if the linked model/environment was changed.
Agent Configuration – Verify the Data Agent settings in Fabric (under AI Skills / Data Agent connections) to ensure the API deployment is still correctly mapped and hasn’t lost its link.
Region / Resource Issue – Very rarely, backend service issues in a specific region can cause this.
Next steps to try:
Refresh or re-deploy the Data Agent and re-associate it with the correct deployment.
If you have multiple deployments, ensure you’re pointing to the right one.
If nothing has changed on your side and it was working fine earlier, it might be a transient issue. In that case, raising a support ticket with Microsoft Fabric support would be the best option, especially since you’re blocked on timelines.
Hope this helps get your workflow back on track!