Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
bankerrajedra
New Member

Not able to authenticate with one created client for Power Bi Embed

Hi There,

 

I have added client id and client secret to get the token from and added that token to start or pause resource, But it is showing that it is not having proper permission

 

stdClass Object
(
    [error] => stdClass Object
        (
            [code] => AuthorizationFailed
            [message] => The client 'd49516b3-7e9a-4f56-8926-3421f9e31c1b' with object id 'd49516b3-7e9a-4f56-8926-3421f9e31c1b' does not have authorization to perform action 'Microsoft.PowerBIDedicated/capacities/resume/action' over scope '/subscriptions/b6e6a952-b4d5-40df-8dd5-90e826279ce7/resourceGroups/atlas_ev_hub/providers/Microsoft.PowerBIDedicated/capacities/atlasevhub'.
        )

)

 

 

See above error when I am trying to start the resource.

 

While trying same with https://azure.github.io/projects/apis/, and get that token and add to api call it is working fine.

 

Can you tell me what permission I need to have for that user, to azure ad.

 

Waiting for reply.

 

Thanks,

Rajendra Banker

1 ACCEPTED SOLUTION
v-micsh-msft
Microsoft Employee
Microsoft Employee

Follow the article below to configure the Registered App permission:

Register an Azure AD to embed Power BI content

 

Regards,

Michael

View solution in original post

1 REPLY 1
v-micsh-msft
Microsoft Employee
Microsoft Employee

Follow the article below to configure the Registered App permission:

Register an Azure AD to embed Power BI content

 

Regards,

Michael

Helpful resources

Announcements
Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

Find out what's new and trending in the Fabric community.