Thanks for your answer @pradeep_singh,

We are using MLFlow version 3.8.1

Update: We were told by a Databricks employee that this is well-known issue and that currently only workspace admins can properly passthrough credentials while agent endpoint creation. We tested again making the endpoint creator a workspace admin and it worked. 

P.S. Another bug we found is that even after passing the parameter 

scale_to_zero_enabled=True to agents.deploy(), the endpoint is not marked correctly to scale to zero. We had to manually change that through the UI.

 

View solution in original post