Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello,
We are trying to extract metadata with the Power BI REST Admin API.
The documentation says we should
It seems easy.
My problem is that documentation and any blog I found only speak about the happy path.
Suppose the scan fails for whatever reason, I expect the status to never be "Succeeded" and my process will wait forever.
So I need to deal with other status values, at least to final ones.
But I found the list of the status values nowhere. Examples of API documentation show "Succeeded" and "NotRunning" (I suppose it means "not yet running") status.
Can anyone list or redirect me to the list of these values? If possible with their description.
Thank you,
Hello,
Finally doing some tests, we discovered an other value to the status: "Running". We can expect the value to be "Failed" in case of failure but as we are not sure about it. So we decided to wait until the status is not "NotRunning" or "Running", take "Succeeded" as a success and other value to a failure.
Hi @Anonymous,
I think you can try to convert these operations to async requests with a custom timeout duration, they should help improve you to work with these APIs without keeping waiting for the response.
Asynchronous programming in C# | Microsoft Docs
c# - Asynchronously wait for Task<T> to complete with timeout - Stack Overflow
In addition, you can also try to submit an idea for adding timeout property into the scanning API.
Microsoft Power BI ideas
Regards,
Xiaoxin Sheng
Hi @Anonymous
Thank you for your reply but it is not related to my question.
I'm asking for the list of values of a specific status field in the response of an API and not about asynchronous tasks in C# that I don't even use.
Regards,
Jérôme
However
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
8 | |
7 | |
2 | |
2 | |
2 |
User | Count |
---|---|
6 | |
5 | |
4 | |
4 | |
4 |