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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
v-gchenna-msft
Community Support
Community Support

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"
}}
}}
}}";

 

 

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
April Fabric Update Carousel

Fabric Monthly Update - April 2024

Check out the April 2024 Fabric update to learn about new features.

Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Kudoed Authors