The following error occurs when attempting to create, test, or reauthorize a Google Drive connection in Workflows:
{
"error": {
"code": 403,
"message": "The domain administrators have disabled Drive apps.",
"errors": [
{
"message": "The domain administrators have disabled Drive apps.",
"domain": "global",
"reason": "domainPolicy"
}
]
}
}
- Okta Workflows
- Google Drive Connector
- Google Sheets Connector
- Okta Classic Engine
This error indicates that access to the Google Drive SDK API is not enabled, causing a permissions error. Note that the Google Sheets connector for Workflows also requires the Google Drive SDK to be enabled. However, when attempting to authorize the Google Sheets connector, the "403 Forbidden" error will be received rather than the "The domain administrators have disabled Drive apps." error if the Drive SDK API is not enabled.
Enable the Google Drive SDK API using the following steps:
- In the Google Admin console, navigate to Apps > Google Workspace > Drive and Docs > Features and Applications.
- In the Organization Units section, select the OU that the account used to authorize the Google Drive connection resides in.
- Click on Drive SDK and check Allow users to access Google Drive with the Drive SDK API to enable the Drive SDK.
