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
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.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Kudoed Authors
Users online (3,006)