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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Nashrin
Frequent Visitor

How to get LakeHouse id and Lakehouse Name in a pipeline activity?

I'm configuring the default lakehouse using %%configure magic commands as below in a notebook,

%%configure
{    
    "defaultLakehouse": {  // This overwrites the default lakehouse for current session
        "name":
            {
                "parameterName": "LH_Name",
                "defaultValue": "XYZ"
            },
        "id":
            {
                "parameterName": "LakeHouse_ID",
                "defaultValue": "xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx"
            },
        "workspaceId": // Add workspace ID if it's from another workspace
            {
                "parameterName": "WorkSpace_ID",
                "defaultValue": "xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx"
            }
    }
}
 
But I need to set/generate the default value to those parameters dynamically through a pipeline activity without any manual interventions.
 
Currently I doing it by defining parameters in the pipeline and manually assinging the values to it but I felt it's not generic when I move the pipeline from dev to stage, I need to reassign the value manually according to its current workspace. 
 
Any Suggestions or ideas......

 

4 REPLIES 4
v-cboorla-msft
Community Support
Community Support

Hi @Nashrin 

 

Thanks for using Microsoft Fabric Community.

At this time, we are reaching out to the internal team to get some help on this.
We will update you once we hear back from them.
Appreciate your patience.

 

Thanks.

Hi @Nashrin 

 

Apologies for the inconvenience and the delay in the response from my end.

Please reach out to our support team to gain deeper insights and explore potential solutions. It's highly recommended that you reach out to our support team. Their expertise will be invaluable in suggesting the most appropriate approach.

Please go ahead and raise a support ticket to reach our support team:

https://support.fabric.microsoft.com/support

After creating a Support ticket please provide the ticket number as it would help us to track for more information.

 

Thank you.

Ticket Number: 2405070050000197

Hi @Nashrin 

 

Thank you for sharing the details.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors
Top Kudoed Authors