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

Get Fabric certified for FREE! Don't miss your chance! Learn more

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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Fabric Update Carousel

Fabric Monthly Update - February 2026

Check out the February 2026 Fabric update to learn about new features.

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.