Microsoft Exchange Online - Delete Access

Sara40
Tera Contributor

I am working to automate deletions/removals within Microsoft Exchange Online. For example, deleting a Distribution List, removing a user from an existing DL, removing delegate access, etc.  I have all creations or updates working perfectly, but for some reason any sort of delete activity is blocked. My service account has full domain admin access.

 

Here is my error message:

 

Write-ErrorMessage : A server side error has occurred because of which the operation could not be completed. Please
try again after some time. If the problem still persists, please reach out to MS support.
At C:\Users\<insert my service acct>\AppData\Local\Temp\tmpEXO_glys0ekd.lve\tmpEXO_glys0ekd.lve.psm1:1207 char:13
+             Write-ErrorMessage $ErrorObject
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-ErrorMessage

Any clue as to where or what permission I'm missing somewhere? I get this exact same message for all of the activities I've built for removal/deletions.

0 REPLIES 0