Error when trying to connect with Google Workspace Drive

Hi, I am trying to use Google Workspace Scope and I want to write range in the sheets. In past, I was using Google Drive auth when I wanted to make edits. But, now when I am trying to connect my user account to the UiPath application it’s giving me an error saying “App Blocked”.

Please help me connect my Google Workspace account so I can make changes in the sheet.

I have added a screenshot if below if I am making any mistakes here.

Hi @Nikhil_Kashyap1

Check this

Regards,

I am still not able to figure it out. Like I have authenticated the apps it’s just isn’t allowing me to access the sheets.

@Nikhil_Kashyap1,

Create integration services connection with Google workspace connector, then use this connection within your code.

No need of using Google workspace scope activity. Use the desired activity directly and use the connection created in integration services.

Follow this documentation for how to setup connection.

Thanks,
Ashok :slightly_smiling_face:

@Nikhil_Kashyap1

  1. First check if 3rd part apps are allowed. As you were able to setup connection it should be but check in google settings once
  2. Did you happen to select the right scope in the workspace acope properties?

Cheers

Yes, Actually it turns out that when choosing scope I had to choose spreadsheet one instead of drive. This way I was able to make edits.

Not sure if due to a recent update, Google might have started restricting other scopes.

The image shows an authentication scope selection dropdown menu with "https://www.googleapis.com/auth/spreadsheets" checked and "https://www.googleapis.com/auth/drive" unchecked. (Captioned by AI)

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.