Forum Discussion

ScottBlevins's avatar
ScottBlevins
New Member
2 years ago
Solved

Using a GUID for DataLake in Powershell

How can a GUID be used in the code below instead of a Workspace Name?  Our workspaces have business freindly names.   I have tried simpy changing "myworkspace" to a real GUID in our tennant.  I hav...
  • ScottBlevins's avatar
    2 years ago

    Resolved by MS support at my employer.  If you use a workspace GUID, then you must also use a Lakehouse GUID.  I was using only the workspace GUID due to the name being incompatible.

     

    To use the Workspace GUID in the Get-AzDataLakeGen2ChildItem cmdlet, you must also use the Lakehouse GUID instead of the Lakehouse name.


    The Workspace GUID and Lakehouse GUID can be retrieved by:
    Go to the workspace > Your Lakehouse > Open > URL: https://app.powerbi.com/groups/<workspaceGUID>/lakehouses/<LakehouseGUID>?experience=power-bi
    Ensure that Lakehouse is selected at the top right hand side