Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered
Using
Solved! Go to Solution.
It seems that there is currently no direct API or command to provide the notebook path. If you want a path that includes the workspace ID and notebook ID, you can obtain these IDs and then concatenate them with the base path. For example,
all_notebooks = notebookutils.notebook.list("your workspace id")
for nb in all_notebooks:
workspace_id = nb['workspaceId']
notebook_id = nb['id']
# notebook_name = nb['displayName']
notebook_path = f"/v1/workspaces/{workspace_id}/items/{notebook_id}"
print(notebook_path)
If you want to use DAG, according to the documentation, the notebook path it requires is just the notebook name. You're already able to get the names of the notebooks.
Hope this would be helpful.
Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!
It seems that there is currently no direct API or command to provide the notebook path. If you want a path that includes the workspace ID and notebook ID, you can obtain these IDs and then concatenate them with the base path. For example,
all_notebooks = notebookutils.notebook.list("your workspace id")
for nb in all_notebooks:
workspace_id = nb['workspaceId']
notebook_id = nb['id']
# notebook_name = nb['displayName']
notebook_path = f"/v1/workspaces/{workspace_id}/items/{notebook_id}"
print(notebook_path)
If you want to use DAG, according to the documentation, the notebook path it requires is just the notebook name. You're already able to get the names of the notebooks.
Hope this would be helpful.
Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!
Don't think this is what the orig poster is looking for. They are looking to get the folder path of a workspace. shown as location in the about page of the notebook. We are looking to get this as well so we can use notebook folder placement to drive schedule orchestration
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Fabric update to learn about new features.
User | Count |
---|---|
7 | |
4 | |
3 | |
3 | |
3 |