Forum Discussion
Reflex API – Power BI Semantic Model Alerts Not Supported (powerBiMetricSource Error)
Title
Reflex API does not support Power BI Semantic Model alerts – “powerBiMetricSource not supported”
Service
Microsoft Fabric / Power BI – Reflex REST API
Issue Summary
We are attempting to programmatically create data alerts for embedded Power BI reports using the Create Reflex API:
Create API:
https://learn.microsoft.com/en-us/rest/api/fabric/reflex/items/create-reflex?tabs=HTTP#code-try-0
Reflex Definition documentation:
https://learn.microsoft.com/en-us/rest/api/fabric/articles/item-management/definitions/reflex-defin…
Get Reflex Definition API:
https://learn.microsoft.com/en-us/rest/api/fabric/reflex/items/get-reflex-definition?tabs=HTTP
Our setup:
- Power BI report backed by a Semantic Model (Import mode)
- Source: Azure SQL Database
- Hosted in Premium/Fabric Embedded capacity
- Authentication via Service Principal
When calling the Get Reflex Definition API, we receive the following error:
"Entity type powerBiMetricSource is not supported."
Observation
- Reflex API appears to reject Power BI semantic model–based metric sources.
- No working example exists for a ReflexEntities.json targeting a Power BI dataset or visual.
Questions
- Is Reflex API officially supported for Power BI semantic model–based alerts?
- If yes, can you provide a valid ReflexEntities.json example for a Power BI dataset/visual?
- If not, is this capability on the roadmap?
- What is the recommended approach for programmatic alert creation on Power BI visuals?
Workspace ID: {workspaceId}
Capacity: {Premium / Fabric Embedded}
Authentication: Service Principal
1 Reply
- v-echaithraCommunity Support
Hi Anonymous ,
Thank you for reaching out to Microsoft Community.From the documented endpoints: Items - REST API (Reflex) | Microsoft Learn
There is no supported entity type listed for Power BI SemanticModel, Report, or Dashboard as a Reflex metric source. The ItemType enumeration includes SemanticModel, Report and Dashboard, but only as item types, not as supported Reflex source entities.
This confirms that the Reflex REST API does NOT support Power BI Semantic Model based metric alerts.
The error you are receiving: Entity type powerBiMetricSource is not supported.is therefore expected behavior per the current API surface.
Hope this helps.
Thank you.