Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.
Solved! Go to Solution.
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
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.
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.
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.
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