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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Power BI Dataset Refresh using Custom Connector

Hi Team,

 

I created a custom connector in Power Apps by following the instructions mentioned in the below link by @konstantinos

 

https://medium.com/@Konstantinos_Ioannou/refresh-powerbi-dataset-with-microsoft-flow-73836c727c33

Everything works fine and I'm able to refresh a dataset in My Workspace.

 

I'm trying to follow the same method to refresh a dataset in my Premium Workspace group using the below URL Pattern in my 'Request' section of the custom connector,

 

https://api.powerbi.com/v1.0/myorg/groups/{GroupID}/datasets/{DataSetID}/refreshes

 

But how many ever times I try even after updating the connectors , closing and opening the session again and testing I get the same "404 - Resource Not found" error.

 

Need help to have the Dataset in my group to be refreshed through custom connector.

 

Thanks

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thanks Dale for guiding me, as you said the problem was I missed a digit while mentioning the Group ID.

Once I gave the proper Group ID, the connector works fine without any issue.

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Now i'm getting the error as ,

Operation failed (401), see response below

 

Looks like some access is missing when I access thed ataset in group to refresh.

 

I'm the Owner of that dataset and I have all permissions towards the dataset, also in the App registered in Azure I have selected all Power BI options to Read and Write Datasets, View all Workspaces and everything.

 

What access am I missing?

 

Thanks

 

Hi @Anonymous,

 

According to my test, we only can keep one reply URL. Please change it and try again.

Power_BI_Dataset_Refresh_using_Custom_Connector

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi Dale,

 

Thanks for the reply.

 

I see that it works for you , but for me after removing the other irrelevant Reply URLs I'm still getting 401 error.

 

 Operation failed (401), see response below

------------------------------------------------------------

Headers

{
"strict-transport-security": "max-age=31536000; includeSubDomains",
"x-content-type-options": "nosniff",
"date": "Fri, 21 Sep 2018 08:05:49 GMT",
"requestid": "e78                               cf85c92",
"x-frame-options": "deny",
"content-type": "application/octet-stream",
"cache-control": "no-store, must-revalidate, no-cache"
}

 

Please help in fixing this issue.

 

I have only the below URL as Reply URL for my app in Azure,

 

https://msmanaged-na.consent.azure-apim.net/redirect

 

Regards

Surya

 

 

Anonymous
Not applicable

Thanks Dale for guiding me, as you said the problem was I missed a digit while mentioning the Group ID.

Once I gave the proper Group ID, the connector works fine without any issue.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors