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

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered

Reply
SachinNandanwar
Super User
Super User

Azure function on Fabric

Has anyone tried to access an Azure Function published on Azure through Data factory on Fabric ? The catch here is that the Azure function accesses a Azure Key vault through a GET method that serves as connection to a No SQL cosmos DB. The Azure function works perfectly well when executed out of Fabric.

I am completely stumped on this one.It errors out with a very non specific error message.
image.png



Regards,
Sachin
Check out my Blog
5 REPLIES 5
Anonymous
Not applicable

Hi @SachinNandanwar,

What type of capacity are you worked on? Fabric trial version or fabric capacity? AFAIK, the trial capacity seems not able to interact with payment environment product/features.

Regards,

Xiaoxin Sheng

Hi @Anonymous , Its the same issue on both the versions.I deployed the Azure function as an API on Azure and called it through fabric and still facing the same issue with the exact same error message.

Infact I have granted the function app managed identity as key vault administrator to the key vault and also added function app managed identity as an administrator on CosmosDB but still no luck.



Regards,
Sachin
Check out my Blog
Anonymous
Not applicable

Hi @SachinNandanwar,

In fact, I create a template app to test with invoke the azure function from pipeline and it works well. Any specific operation or processing in your azure functions? Can you please share some more details about these?

Regards,

Xiaoxin Sheng

Hi @Anonymous ,

The issue is sorted.The reason for the failure was that in the deployment pipeline the App config settings were not getting properly copied over to Azure from Visual Studio,

SachinNandanwar_1-1724153097764.png

Infact if you look at the error message that I posted it states that there is a configuration issue.

SachinNandanwar_2-1724153240550.png
But I was more focussed on the Details part of the error instead of the failure type.

 



Regards,
Sachin
Check out my Blog
Anonymous
Not applicable

HI @SachinNandanwar,

I'm glad to hear you find the root causing and share the solution of this issue here. They should help others users who faced the similar type of issues.
Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

May FBC25 Carousel

Fabric Monthly Update - May 2025

Check out the May 2025 Fabric update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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