79615143

Date: 2025-05-10 04:23:05
Score: 1
Natty:
Report link

Are you running the notebook interactively or with a Service Principal?

You will get the error

## Not In PBI Synapse Platform ##

when running a notebook using Service Principal and you are using Sempy. Also some properties of notebookutils.runtime.context will return None, like WorkspaceName and UserName.

I wrote about this a blog post which you will find here: Who's Calling? Understanding Execution Context in Microsoft Fabric

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: gronnerup