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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
SKLL75
Regular Visitor

Location URL not exposed in Job Scheduler API response

Hi,

When calling the job scheduler api to run a notebook on demand
POST https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/items/{itemId}/jobs/instances?jobType={...
The API response does not contain the location url in the header.
I can see the following header value:
"Access-Control-Expose-Headers": "RequestId,Retry-After"
which indicates that "location" is blocked.
I need the location header to use the async status pattern in data factory.

1 ACCEPTED SOLUTION
v-echaithra
Community Support
Community Support

Hi @SKLL75 ,

Thank you for posting in Microsoft Community.

If it comes under CORS limitation at the client level, try creating a logic app that calls Fabric API and extracts the location header which returns the result to your ADF.
Reference: Fabric data pipeline public REST API - Microsoft Fabric | Microsoft Learn
Complete Guide to Cross-Origin Resource Sharing (CORS) - KeyCDN Support

If this post helps, please give us Kudos and consider marking it Accept as solution to assist other members in finding it more easily.

Regards,
Chaithra




View solution in original post

4 REPLIES 4
v-echaithra
Community Support
Community Support

Hi @SKLL75 ,

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.

 

Regards,
Chaithra.

v-echaithra
Community Support
Community Support

Hi @SKLL75 ,

We would like to follow up to see if the solution provided by the user resolved your issue. Please let us know if you need any further assistance.
If the provided response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.

 

Regards,
Chaithra.

v-echaithra
Community Support
Community Support

Hi @SKLL75 ,

May I ask if you have gotten this issue resolved?

 

If it is solved, please mark the helpful reply or share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.

 

Regards,
Chaithra.

v-echaithra
Community Support
Community Support

Hi @SKLL75 ,

Thank you for posting in Microsoft Community.

If it comes under CORS limitation at the client level, try creating a logic app that calls Fabric API and extracts the location header which returns the result to your ADF.
Reference: Fabric data pipeline public REST API - Microsoft Fabric | Microsoft Learn
Complete Guide to Cross-Origin Resource Sharing (CORS) - KeyCDN Support

If this post helps, please give us Kudos and consider marking it Accept as solution to assist other members in finding it more easily.

Regards,
Chaithra




Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

June FBC25 Carousel

Fabric Monthly Update - June 2025

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