The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
We are trying to update the description of a paginated report using this API: Items - Update Paginated Report
When calling the URL using a service principal with client secret credentials, we get the following error:
Status: 400 Bad Request
{
Solved! Go to Solution.
Hi @ys01 , thank you for reaching out to the Microsoft Fabric Community Forum.
Since using a Microsoft Entra User works, it confirms that the problem lies with the service principal. Given this, the best course of action would be to raise a support ticket with Microsoft. Provide the exact API call you’re making, the error message, all the troubleshooting steps you've already taken and confirmation that the service principal has the correct permissions and workspace admin role. This will help Microsoft investigate and address the issue with the Fabric REST API.
Below is the link to create Microsoft Support ticket:
How to create a Fabric and Power BI Support ticket - Power BI | Microsoft Learn.
If this helps, please consider marking it 'Accept as Solution' so others with similar queries may find it more easily. If not, please share the details.
Thank you.
Hi @ys01 ,
As haven’t heard back from you in a long while, we’re closing this thread per our follow-up policy. For any further discussions or questions, please start a new post in the Microsoft Fabric Community Forum — we’ll be happy to assist.
Thank you for being part of the Microsoft Fabric Community.
Hi @ys01, Hope your issue is solved. If it is, please consider marking the answer 'Accept as solution', so others with similar issues may find it easily. If it isn't, please share the details.
Thank you.
Still not working. Will try and raise a ticket
Hi @ys01, thank you for reaching out to the Microsoft Fabric Community Forum.
Thank you for the update. I hope your issue is resolved soon. Once it is, kindly share the insights here to assist others with similar questions.
Additionally, please consider marking the answer as 'Accept as Solution' to help others find it more easily.
Thank you.
I should add that using a Microsoft Entra User does work for the Items - Update Paginated Report endpoint. This is strange as the endpoint says it can be used by both User and Service Principal identities, but it only works for the former in our case.
Hi @ys01 , thank you for reaching out to the Microsoft Fabric Community Forum.
Since using a Microsoft Entra User works, it confirms that the problem lies with the service principal. Given this, the best course of action would be to raise a support ticket with Microsoft. Provide the exact API call you’re making, the error message, all the troubleshooting steps you've already taken and confirmation that the service principal has the correct permissions and workspace admin role. This will help Microsoft investigate and address the issue with the Fabric REST API.
Below is the link to create Microsoft Support ticket:
How to create a Fabric and Power BI Support ticket - Power BI | Microsoft Learn.
If this helps, please consider marking it 'Accept as Solution' so others with similar queries may find it more easily. If not, please share the details.
Thank you.
Hi @ys01 , thank you for reaching out to the Microsoft Fabric Community Forum.
The API may not fully support updating the description of a paginated report when using a service principal. This could be due to a bug or incomplete implementation. Additionally, there might be internal checks or limitations when using service principals for this specific operation, even if the service principal has the required permissions.
Please Consider Below:
curl --location --request PATCH 'https://api.powerbi.com/v1.0/myorg/groups/<workspaceId>/reports/<reportId>' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <bearer_token>' \
--data '{
"description": "Update Description"
}'
$reportId = "<paginatedReportId>"
$description = "Update Description"
Update-PowerBIReport -WorkspaceId $workspaceId -Id $reportId -Description $description
If this helps, please consider marking it 'Accept as Solution' so others with similar queries may find it more easily. If not, please share the details.
Thank you.
User | Count |
---|---|
16 | |
13 | |
8 | |
6 | |
5 |
User | Count |
---|---|
29 | |
24 | |
20 | |
18 | |
13 |