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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.