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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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