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