Hi there,
I created an app which is linked to a google sheets data source. The data source contains a list of emails. I want to check if these emails are in an Azure AD group and if they are not then I want the record associated with the email to be removed from the google sheets data source.
So far, I have the line below:
RemoveIf(Sheet1, IsEmpty(AzureAD.CheckMemberGroupsV2(email,["48ce8a71-7762-46e0-9eea-4f26059d21fa"]).value))
However, I am getting the error message:
"Resource 'testing' does not exist or one of its queried reference-property objects are not present."
The google sheets database currently only has two emails in it. One email is an email that is the Azure AD (therefore it's record shouldn't be deleted) whereas the other email is called "testing" and this email isn't in the Azure AD therefore the record should be deleted.
Could someone explain to me why CheckMemberGroupsV2 is failing? From the documentation I read it seems it should return an empty result if the email isn't in the google sheets database instead of failing.