cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Nolock
New Member

HTTP 403 (forbidden) if using a custom connector

Hello folks,

 

I've created a custom connector which uses the Power BI REST API via OAuth2 (https://www.mssqltips.com/sqlservertip/5976/refresh-power-bi-dataset-from-azure-data-factory--part-1...). I'm able to test the connector in the UI successfully. The response comes in 1-2 seconds.

1.PNG

But if I create a flow using this connector, it takes about 30 seconds to run and ends with HTTP 403 Forbidden.

2.PNG

 

I created the connector a week ago and I also used it successfully. Then our Power Platform admin created environments for our projects and the custom connector stopped working in my flow. It doesn't matter which environment I use - it doesn't work in any of them. If I recreate the custom connector and the flow with Logic Apps, it works. It means the problem came with the introduction of environments.

I use the Power Apps Plan 2 license.

Do you have any idea what I should try?

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @Nolock,

 

It seems like your license has no problem. There's no need to remove the Trial licenses.

 

I assume the problem is caused by the environment when you create the custom connector, because of DLP (Data loss prevention), there are some limitations between different environments. The fact that environments are an isolation boundary means that you can never have resources that reference resources across environments. For example, you may not create a custom connector in one environment and then create a flow that uses that custom connector in a different environment.

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-litu-msft
Community Support
Community Support

Hi @Nolock,

 

What's the license of Power Automate? If they are a free trial, they could not use the custom connector:

https://asia.flow.microsoft.com/en-us/pricing/

 

Annotation 2019-10-17 094134.png

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-litu-msft,

I have the license Microsoft Power Automate Plan 1. Should I remove the Trial licenses?

 

3.PNG

Hi @Nolock,

 

It seems like your license has no problem. There's no need to remove the Trial licenses.

 

I assume the problem is caused by the environment when you create the custom connector, because of DLP (Data loss prevention), there are some limitations between different environments. The fact that environments are an isolation boundary means that you can never have resources that reference resources across environments. For example, you may not create a custom connector in one environment and then create a flow that uses that custom connector in a different environment.

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022- Season 2 has kicked off!

Users online (3,527)