I've spent too much time trying to write a PowerShell script to update data source settings before processing, and it's been a nightmare. From what I understand, there is currently no way to have unattended access for Azure Analysis to pull data from a SQL endpoint. You must use a Microsoft Account, which has a token expiry of one day, making it impossible to automate daily processing. If I'm mistaken, I'd appreciate clarification, as we've been looking into this for weeks. I understand the reasoning behind it, but not being able to use a Service Principal or Managed Identity in the .bim is very limiting.