We are trying to fetch notebook context in our Job logging workflow.
current_context = dbutils.notebook.entry_point.getDbutils().notebook().getContext().toJson()
We were able to access this in DBR 10.4 custom mode but in DBR 10.4 & 11.2 (Shared Mode) we get the attached error.
Has the method to access notebook context change in newer DBR version or it's not available at all ?