<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Is there a function to check the workspace name / ID in Fabric notebook? in Fabric platform</title>
    <link>https://community.fabric.microsoft.com/t5/Fabric-platform/Is-there-a-function-to-check-the-workspace-name-ID-in-Fabric/m-p/4216862#M9554</link>
    <description>&lt;P&gt;here it is:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-engineering/notebook-utilities#runtime-utilities" target="_self"&gt;https://learn.microsoft.com/en-us/fabric/data-engineering/notebook-utilities#runtime-utilities&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Oct 2024 06:47:16 GMT</pubDate>
    <dc:creator>mmilosanovic</dc:creator>
    <dc:date>2024-10-04T06:47:16Z</dc:date>
    <item>
      <title>Is there a function to check the workspace name / ID in Fabric notebook?</title>
      <link>https://community.fabric.microsoft.com/t5/Fabric-platform/Is-there-a-function-to-check-the-workspace-name-ID-in-Fabric/m-p/3800046#M5709</link>
      <description>&lt;P&gt;Hi fabricators, is there a function by which we can see the name of the workspace or the workspace ID in fabric notebook?&lt;/P&gt;</description>
      <pubDate>Sat, 30 Mar 2024 08:52:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Fabric-platform/Is-there-a-function-to-check-the-workspace-name-ID-in-Fabric/m-p/3800046#M5709</guid>
      <dc:creator>igorkk</dc:creator>
      <dc:date>2024-03-30T08:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a function to check the workspace name / ID in Fabric notebook?</title>
      <link>https://community.fabric.microsoft.com/t5/Fabric-platform/Is-there-a-function-to-check-the-workspace-name-ID-in-Fabric/m-p/3801247#M5718</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="707738" data-lia-user-login="igorkk" class="lia-mention lia-mention-user"&gt;igorkk&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thanks for using Fabric Community.&lt;BR /&gt;You can use the below codes:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Hope this helps. Please let me know if you have any further questions.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2024 03:40:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Fabric-platform/Is-there-a-function-to-check-the-workspace-name-ID-in-Fabric/m-p/3801247#M5718</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-01T03:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a function to check the workspace name / ID in Fabric notebook?</title>
      <link>https://community.fabric.microsoft.com/t5/Fabric-platform/Is-there-a-function-to-check-the-workspace-name-ID-in-Fabric/m-p/3805377#M5769</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="707738" data-lia-user-login="igorkk" class="lia-mention lia-mention-user"&gt;igorkk&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;We haven’t heard from you on the last response and was just checking back to see if your query got resolved. Otherwise, will respond back with the more details and we will try to help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 15:41:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Fabric-platform/Is-there-a-function-to-check-the-workspace-name-ID-in-Fabric/m-p/3805377#M5769</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-02T15:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a function to check the workspace name / ID in Fabric notebook?</title>
      <link>https://community.fabric.microsoft.com/t5/Fabric-platform/Is-there-a-function-to-check-the-workspace-name-ID-in-Fabric/m-p/3808330#M5824</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/707738" target="_blank"&gt;@igorkk&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We haven’t heard from you on the last response and was just checking back to see if your query got resolved. Otherwise, will respond back with the more details and we will try to help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 16:21:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Fabric-platform/Is-there-a-function-to-check-the-workspace-name-ID-in-Fabric/m-p/3808330#M5824</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-03T16:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a function to check the workspace name / ID in Fabric notebook?</title>
      <link>https://community.fabric.microsoft.com/t5/Fabric-platform/Is-there-a-function-to-check-the-workspace-name-ID-in-Fabric/m-p/3813263#M5935</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="707738" data-lia-user-login="igorkk" class="lia-mention lia-mention-user"&gt;igorkk&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Glad that your query got resolved. Please continue using Fabric Community for any help regarding your queries.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2024 10:39:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Fabric-platform/Is-there-a-function-to-check-the-workspace-name-ID-in-Fabric/m-p/3813263#M5935</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-05T10:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a function to check the workspace name / ID in Fabric notebook?</title>
      <link>https://community.fabric.microsoft.com/t5/Fabric-platform/Is-there-a-function-to-check-the-workspace-name-ID-in-Fabric/m-p/3866355#M6905</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried this and it works as expected for the Id, but when I call:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;spark.conf.get(&lt;/SPAN&gt;&lt;SPAN&gt;"trident.workspace.name"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;I get the error:&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class=""&gt;Py4JJavaError&lt;/SPAN&gt;&lt;SPAN&gt;: An error occurred while calling o308.get. : java.util.NoSuchElementException: trident.workspace.name at org.apache.spark.sql.errors.QueryExecutionErrors$.noSuchElementExceptionError(QueryExecutionErrors.scala:2138)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Anonymous&lt;/a&gt;&amp;nbsp;Can you help? Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 Apr 2024 19:07:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Fabric-platform/Is-there-a-function-to-check-the-workspace-name-ID-in-Fabric/m-p/3866355#M6905</guid>
      <dc:creator>SorenSparso</dc:creator>
      <dc:date>2024-04-24T19:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a function to check the workspace name / ID in Fabric notebook?</title>
      <link>https://community.fabric.microsoft.com/t5/Fabric-platform/Is-there-a-function-to-check-the-workspace-name-ID-in-Fabric/m-p/4023490#M8656</link>
      <description>&lt;P&gt;Although marked as solved, it really isn't, so here's a solution...&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;How to get the workspace name when running a notebook.&amp;nbsp;&lt;/STRONG&gt;Use sempy (semantic link)&lt;/P&gt;&lt;P&gt;Here’s the function page help&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-science/semantic-link-semantic-functions" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/fabric/data-science/semantic-link-semantic-functions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Install like this&lt;/P&gt;&lt;P&gt;%pip install -U semantic-link&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then run this...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;import sempy.fabric as fabric

# Get the id of this notebooks workspace
workspace_id = fabric.get_notebook_workspace_id()  
# You can also get this with fabric.get_workspace_id()

# From all workspaces, filter by Id and then just get the Name
workspaces = fabric.list_workspaces()
workspace_row = workspaces[workspaces.Id == workspace_id]
workspace_name = workspace_row['Name']&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit: In the above code I put a comment to say that you could also use fabric.&lt;STRONG&gt;get_workspace_id&lt;/STRONG&gt;(). Due to a possible bug in Fabric, you cannot use this, and should only use fabric.&lt;STRONG&gt;get_notebook_workspace_id&lt;/STRONG&gt;(), like I did in the above code.&lt;BR /&gt;Thanks to Element115 for mentioning this. See replies for details.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 07:32:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Fabric-platform/Is-there-a-function-to-check-the-workspace-name-ID-in-Fabric/m-p/4023490#M8656</guid>
      <dc:creator>David_Bridge</dc:creator>
      <dc:date>2024-09-25T07:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a function to check the workspace name / ID in Fabric notebook?</title>
      <link>https://community.fabric.microsoft.com/t5/Fabric-platform/Is-there-a-function-to-check-the-workspace-name-ID-in-Fabric/m-p/4064593#M8871</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;I didn't need to do any pip install personally, also I want to return it as a string for my purposes. Hope this helps speed someone else up!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import sempy.fabric as fabric

def get_current_workspace_name():
    # Get the id of this notebook's workspace
    workspace_id = fabric.get_notebook_workspace_id()
    # From all workspaces, filter by Id and then just get the Name
    workspaces = fabric.list_workspaces()
    workspace_row = workspaces[workspaces.Id == workspace_id]
    workspace_name = workspace_row['Name'].values[0]  # Extract the first value as a string
    return workspace_name

# Usage example
workspace_name = get_current_workspace_name()
print(f'name: {workspace_name}')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jul 2024 04:08:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Fabric-platform/Is-there-a-function-to-check-the-workspace-name-ID-in-Fabric/m-p/4064593#M8871</guid>
      <dc:creator>T-Rez</dc:creator>
      <dc:date>2024-07-27T04:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a function to check the workspace name / ID in Fabric notebook?</title>
      <link>https://community.fabric.microsoft.com/t5/Fabric-platform/Is-there-a-function-to-check-the-workspace-name-ID-in-Fabric/m-p/4127255#M9191</link>
      <description>This works as well: `mssparkutils.env.getWorkspaceName() # current workspace name`</description>
      <pubDate>Fri, 30 Aug 2024 15:46:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Fabric-platform/Is-there-a-function-to-check-the-workspace-name-ID-in-Fabric/m-p/4127255#M9191</guid>
      <dc:creator>mmilosanovic</dc:creator>
      <dc:date>2024-08-30T15:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a function to check the workspace name / ID in Fabric notebook?</title>
      <link>https://community.fabric.microsoft.com/t5/Fabric-platform/Is-there-a-function-to-check-the-workspace-name-ID-in-Fabric/m-p/4168357#M9377</link>
      <description>&lt;P&gt;However, something I just noticed and don't know if it's a bug or intended to be such.&amp;nbsp; Here's the context.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2 workspaces: SPARK and IVDS.&amp;nbsp; 1 notebook:&amp;nbsp; nb_test.&amp;nbsp; &amp;nbsp;Current workspace == SPARK.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created nb_test in workspace IVDS.&amp;nbsp; Later I saved it as a copy to workspace SPARK.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am now working in SPARK--&amp;gt;nb_test.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;workspace_id = fabric.get_notebook_workspace_id() &lt;/LI-CODE&gt;&lt;P&gt;returns 'SPARK'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;workspace_id = fabric.get_workspace_id()&lt;/LI-CODE&gt;&lt;P&gt;returns 'IVDS' or the workspace where the copy's original was first created.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Go figure.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 21:17:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Fabric-platform/Is-there-a-function-to-check-the-workspace-name-ID-in-Fabric/m-p/4168357#M9377</guid>
      <dc:creator>Element115</dc:creator>
      <dc:date>2024-09-23T21:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a function to check the workspace name / ID in Fabric notebook?</title>
      <link>https://community.fabric.microsoft.com/t5/Fabric-platform/Is-there-a-function-to-check-the-workspace-name-ID-in-Fabric/m-p/4169878#M9388</link>
      <description>&lt;P&gt;I agree that this looks like a bug.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As your code references id's, the return values will be workspace GUIDs, not names, but I assumed you meant the ids are referencing different workspaces and was intrigued so I tried it out, and I found exactly the same thing. fabric.get_workspace_id() gets the pre-copy workspace id. and if you used it to subsequently get the workspace name from a lookup using it, the result would be incorrect. get_notebook_workspace_id() returns the correct value so probably a better choice.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Rather more worrying, I also note that if you deploy with deployment pipelines rather than using Save a copy, you still get this behaviour.&lt;BR /&gt;(tested on 2024-09-24)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To get the workspace name, using notebookutils.mssparkutils is probably easier, but this library fdoesn't have a method to get the workspace_id&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;mssparkutils.env.getWorkspaceName()&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 08:33:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Fabric-platform/Is-there-a-function-to-check-the-workspace-name-ID-in-Fabric/m-p/4169878#M9388</guid>
      <dc:creator>David_Bridge</dc:creator>
      <dc:date>2024-09-24T08:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a function to check the workspace name / ID in Fabric notebook?</title>
      <link>https://community.fabric.microsoft.com/t5/Fabric-platform/Is-there-a-function-to-check-the-workspace-name-ID-in-Fabric/m-p/4172121#M9420</link>
      <description>&lt;P&gt;It's not my code but your code btw &lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;, I lifted from your older post.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 01:31:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Fabric-platform/Is-there-a-function-to-check-the-workspace-name-ID-in-Fabric/m-p/4172121#M9420</guid>
      <dc:creator>Element115</dc:creator>
      <dc:date>2024-09-25T01:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a function to check the workspace name / ID in Fabric notebook?</title>
      <link>https://community.fabric.microsoft.com/t5/Fabric-platform/Is-there-a-function-to-check-the-workspace-name-ID-in-Fabric/m-p/4186005#M9490</link>
      <description>&lt;P&gt;There's a simpler, one line, way to get the workspace name. Behold!!!&amp;nbsp;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;import sempy.fabric as fabric

workspace_name = fabric.resolve_workspace_name()&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Sep 2024 00:58:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Fabric-platform/Is-there-a-function-to-check-the-workspace-name-ID-in-Fabric/m-p/4186005#M9490</guid>
      <dc:creator>Element115</dc:creator>
      <dc:date>2024-09-28T00:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a function to check the workspace name / ID in Fabric notebook?</title>
      <link>https://community.fabric.microsoft.com/t5/Fabric-platform/Is-there-a-function-to-check-the-workspace-name-ID-in-Fabric/m-p/4215248#M9547</link>
      <description>&lt;P&gt;Due to a change to notebookutils, these snippets work now:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;fabric_workspace_id = notebookutils.runtime.context.get("currentWorkspaceId") # current workspace ID&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;fabric_workspace_name = notebookutils.runtime.context.get("currentWorkspaceName") # current workspace name&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 15:40:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Fabric-platform/Is-there-a-function-to-check-the-workspace-name-ID-in-Fabric/m-p/4215248#M9547</guid>
      <dc:creator>mmilosanovic</dc:creator>
      <dc:date>2024-10-03T15:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a function to check the workspace name / ID in Fabric notebook?</title>
      <link>https://community.fabric.microsoft.com/t5/Fabric-platform/Is-there-a-function-to-check-the-workspace-name-ID-in-Fabric/m-p/4215631#M9548</link>
      <description>&lt;P&gt;Could you please share the link where this is documented?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 17:44:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Fabric-platform/Is-there-a-function-to-check-the-workspace-name-ID-in-Fabric/m-p/4215631#M9548</guid>
      <dc:creator>Element115</dc:creator>
      <dc:date>2024-10-03T17:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a function to check the workspace name / ID in Fabric notebook?</title>
      <link>https://community.fabric.microsoft.com/t5/Fabric-platform/Is-there-a-function-to-check-the-workspace-name-ID-in-Fabric/m-p/4216862#M9554</link>
      <description>&lt;P&gt;here it is:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-engineering/notebook-utilities#runtime-utilities" target="_self"&gt;https://learn.microsoft.com/en-us/fabric/data-engineering/notebook-utilities#runtime-utilities&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 06:47:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Fabric-platform/Is-there-a-function-to-check-the-workspace-name-ID-in-Fabric/m-p/4216862#M9554</guid>
      <dc:creator>mmilosanovic</dc:creator>
      <dc:date>2024-10-04T06:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a function to check the workspace name / ID in Fabric notebook?</title>
      <link>https://community.fabric.microsoft.com/t5/Fabric-platform/Is-there-a-function-to-check-the-workspace-name-ID-in-Fabric/m-p/4217088#M9557</link>
      <description>&lt;P&gt;Nice find. Sempy is evolving nicely and so too is notebookutils (mssparkutils) with another one-liner.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;notebookutils.mssparkutils.env.getWorkspaceName()&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;or&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;notebookutils.runtime.context.get("currentWorkspaceName")&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 08:02:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Fabric-platform/Is-there-a-function-to-check-the-workspace-name-ID-in-Fabric/m-p/4217088#M9557</guid>
      <dc:creator>David_Bridge</dc:creator>
      <dc:date>2024-10-04T08:02:09Z</dc:date>
    </item>
  </channel>
</rss>

