Create Python Notebook button is unavailable in BigQuery

Hi there!

I want to create a Python notebook on a BigQuery console but the button is unavailable. It also shows the message "You need permissions for this action. Required permission(s): All of dataform.repositories.create and aiplatform.notebookRuntimes.assign".

 My principal holds the following roles:

  • BigQuery Studio User (roles/bigquery.studioUser)
  • BigQuery Read Session User (roles/bigquery.readSessionUser)
  • Code Editor (roles/dataform.codeEditor)
  • Code Viewer (roles/dataform.codeViewer)
  • Notebook Runtime User (roles/aiplatform.notebookRuntimeUser)
  • BigQuery Job User (roles/bigquery.jobUser)

but the Python notebook is still unavailable. My principal was also granted BigQuery Admin and Dataform Admin roles, but even after that, no Python notebook creation is available.

Any clue?

Thank you!

10 2 187
2 REPLIES 2

Hello @garcianava,

you can find pernissions ti create notebook in BQ to this link:

 

https://cloud.google.com/bigquery/docs/create-notebooks#permissions_to_create_notebooks

Hi @garcianava

Thank you for reaching out to our community.

It seems you might need some additional permissions to create Python notebooks. The message indicates you'll need the "dataform.repositories.create" and "aiplatform.notebookRuntimes.assign" roles.

@MaxImbrox shared a helpful document that details the required roles for the Python Notebook button.

For further reference, here are some resources: