question

LeeYongSheng-3531 avatar image
0 Votes"
LeeYongSheng-3531 asked LeeYongSheng-3531 commented

Workflow containing documentdb application not compatible with Gmail connectors.

Hello everyone, greetings from Singapore!

I am currently developing an email alert feature using Azure Logic App.
The logic app firstly read the data from CosmosDB using documentdb function block, then parsing them into JSON before taking as input into condition logic-checking block.

Previously I tried sending the triggered email using Office 365 outlook, everything goes well as expected.
The logic works in a way I wanted.

Moreover, I am trying to use gmail V2 to do the same thing, but error message indicating that containing documentdb application which is not compatible to Gmail connector.
I studied some articles about changes of Google connectors due to Data Security and Privacy policies reasons.

My question is, knowing that documentdb function block is not compatible, is it an alternative to read data from CosmosDB meanwhile compatible to Gmail connectors?

I appreciate your help and answers.
I attached some snapshots and codeview for your reference.

Thank you and regards
Yong Sheng108615-error-1.jpg108518-flow-1.jpg108606-flow-2.jpg108519-codeview-23june21.txt


azure-logic-apps
error-1.jpg (21.2 KiB)
flow-1.jpg (76.0 KiB)
flow-2.jpg (61.4 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

MikeUrnun avatar image
0 Votes"
MikeUrnun answered LeeYongSheng-3531 commented

Hello @LeeYongSheng-3531 - Looking at the docs on the matter, anything that sends and receives that data with an external service is affected by this new privacy policy, unless those services are approved by Google (for example, Microsoft Teams, Sharepoint online, etc..). In that sense, both DocumentDB and CosmosDB, which are not on the approved list, will not be allowed to be part of the same workflow that's also using Google connectors that are signed in with consumer accounts. However, it does seem pretty easy to overcome this issue by setting up Google app and signing in with ClientID and Client Secret instead -- have you tried that yet?


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Dear Mike

Thank you for your sharing!
Understood that policy changes of Google regarding data security.

I have tried setting up the Google app to host Gmail API in Google Cloud with OAuth2.0 authorisation.
Everything is running well now.

Thank you for your answer again!

0 Votes 0 ·