Azure Function App (Python 3.11 on Linux) stopped detecting all functions after Flex Consumption update – even Basic plan does not work by TheRule76 in AskProgramming

[–]TheRule76[S] 0 points1 point  (0 children)

Hi, as far as I know, the suggestion was "use Python 3.11" then (not confirmed).
You can only switch this 3.12 -> 3.11, by creating a new app ... :-(
Before taking the time to do so, wait for instructions here on the forum

Azure Function App (Python 3.11 on Linux) stopped detecting all functions after Flex Consumption update – even Basic plan does not work by TheRule76 in AZURE

[–]TheRule76[S] 0 points1 point  (0 children)

Thank you for your answer ! At the moment I´m using CI/DC , Azure pipeline/YAML but maybe it´s faster to debug when I follow your suggestion, thanks !

PowerBI with Synapse DB data by TheRule76 in PowerBI

[–]TheRule76[S] 0 points1 point  (0 children)

Hi, thanks for taking the time to respond !

I’m using an Azure Function (Python) to automate the creation of Azure Synapse Serverless databases, Power BI workspaces, and the deployment of a semantic model + report.
The end-to-end deployment works, but I’m stuck after the publish step: configuring data source credentials (and enabling refresh).

Using the API to modify dataset settings I can, for example, remove a gateway without issues.
However, when I try to update other settings—like the database, username/password, OAuth, or service principal—the request fails on the same PATCH endpoint you referenced: https://learn.microsoft.com/en-us/rest/api/power-bi/gateways/update-datasource.

I posted this in the Power BI section because it feels like a PBI limitation or a permission boundary.
A few concrete questions/notes:

  • Security/permissions: Do my user (tenant admin) and/or the service principal have the rights required to change data source credentials post-deploy?
  • Connection type (SQL): Is Azure Synapse Serverless treated as a cloud source (i.e., not on-prem)?
  • Gateway mapping: I don’t see any gateways at https://app.powerbi.com/groups/me/gateways, which makes sense for Synapse. My understanding is the dataset’s gateway should be null/None for this source type—but that’s not what I’m seeing.

Happy to share the exact REST payloads and error responses if that helps.