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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
jasonrutherford
Regular Visitor

Azure Graph : An existing connection was forcibly closed by the remote host.

Hi all,

When running a custom connector in a small environment against azure graph API I receive no errors. I then tested the connector in a larger environment and I receive the following:

OLE DB or ODBC error: [DataSource.Error] OData: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host..

I've tried limiting the rows returned, which somewhat works, but the results have been inconsistent. Any assistance is appreciated!

 

 

2 REPLIES 2
v-shex-msft
Community Support
Community Support

HI @jasonrutherford,

I agree with lbendlin 's point of view. You can check the limitations of azure graph API usage if some of the requests have been blocked.

Microsoft Graph throttling guidance 

You can also take a look at the following blog about a similar issue if it helps:

How to resolve “An exception was forcibly closed by the remote host” in a .NET app running on an azu... 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
lbendlin
Super User
Super User

Does your company have hourly API call limits for the graph API?  Have you tried adding a delay in between calls?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.