Jump to content

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


Recommended Posts

Guest Pablo_COELHO DA SILVA
Posted

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

 

More...

  • Replies 0
  • Created
  • Last Reply

Popular Days

Popular Days

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...