PowerShell with Exchange Online - After a number of requests to the Exchange Online server, he no longer seems to respond

  • Thread starter Pablo_COELHO DA SILVA
  • Start date
P

Pablo_COELHO DA SILVA

Hello, I have a PowerShell script that uses an Azure AD account with an Exchange Online license (Plan 1) to connect.The script works as follows: create a loop which, for each security group, retrieves the mailbox addresses (a second loop is performed if there is more than one mailbox per security group).Next, retrieve the members of the security group forming list A and retrieve the members of the mailbox forming list B.If a user is in list A but not in list B, we add him/her to the mailbox, otherwise we remove him/her from the mailbox.My problem is that after a certain number of requests, the

Continue reading...
 
Back
Top Bottom