Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago

Rest API for Government Power BI

Hello,

 

I am using Government Power BI Version. 

Using postman I can get a bearer token.  

But when I tried to do a simple GET or POST method using postman I am getting this error "403 Forbidden - The request was a legal request but the server is refusing to respond to it. Unlike a 401 Authorization response, Authenticating will make no difference."

 

Below is sample Get request from MS documentation and a sample request I am using.

Get request for commercial Power BI - GET https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets 

Get request I am using for Gov Power BI - https://api.powerbigov.us/v1.0/myorg/groups/{groupId}/datasets

 

Any one face similar kind of error on Goverment Power BI and any thoughts on this error message? 

 

Thanks!

6 Replies

  • yes, this is not permitted on the Government Power BI cloud.

  • Anonymous's avatar
    Anonymous
    Not applicable

    HI Anonymous,

    AFAIK, the rest API of the government cloud has some differences with the common tenants. (e.g. verification and authorizations)

    If the same operations work normally on common tenant but failed on gov cloud, I'd like to suggest you contact the support team with the 'National clouds' channel.

    Support | Microsoft Power BI

    submit a support ticket

    Regards,

    Xiaoxin Sheng