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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
asankab
Helper I
Helper I

Is there a way that we can create a connection object via a Fabric API

Hi Team,

 

Is there a way that we can create a connection object via a Fabric API? so that can be used when creating a fabric shortcut (again via an API call)

 

 

Thanks

3 REPLIES 3
Anonymous
Not applicable

Hi @asankab ,

Thanks for using Fabric Community.
I would like to understand what object you would like to create?

Fabric API can be used for all of these -

vgchennamsft_0-1714130136721.png


Docs to refer - Microsoft Fabric REST APIs for automation and embedded analytics - Microsoft Fabric REST APIs | Micr...

If you can provide me more details, then I can guide you  better.

 

What i want to create is a shortcut to ADLSGen2 inside a lakehouse files folder. But creating that shortcut requires a connectionId to passed in as part of the request playload, so i am thinking if there is a way that the connectionId can be created via an API, i can use the same connectionId can create many shortcuts.

 

Ex: payload

By ConnectionId i am referring to the one you see below in the payload. a property named connectionId

string bady = @$"{{
""path"": ""Files/landingZone"",
""name"": ""az-autogenerated-shortcut-via-api"",
""target"": {{
""adlsGen2"": {{
""location"": ""https://ssss.dfs.core.windows.net"",
""subpath"": ""/raw"",
""connectionId"": "123123123123"
}}
}}
}}";

 

 

Anonymous
Not applicable

Hi @asankab ,

Apologies for the delay in reply from our side.
As I understand you were looking for a way to get this connection id automatically.

vgchennamsft_0-1715092489318.png

 


But for now we only have this option to copy the connection id and use it in the API.

Appreciate if you could share the feedback on our feedback link , which would be open for the user community to upvote & comment on. This allows our product teams to effectively prioritize your request against our existing feature backlog and gives insight into the potential impact of implementing the suggested feature.
Feedback Link : Home (microsoft.com)

Hope this helps. Please let me know if you have any further questions.

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.