O365 public folder SMTP adding

Joined
Apr 29, 2016
Messages
8
Need help from the Hive Mind here, I am trying to bulk add smtp address to specific mail enabled public folders in our office 365 tenant and I for the life of me cannot figure out a way to script this out. I can do it through the GUI in the tenant, but we have multiple thousands of these so hand updateing would take a very very long time. I have dumped a .csv file with the identity and primarysmtpaddress fields, but I am not able to find a way to update these in powershell. I DO NOT want to remove the current smtp addresses just add an additional. Is there Anyone who can help me on this one?
 
Are you pure O365 or hybrid with these objects synced from on-prem AD?
It shouldn't matter assuming its a business/enterprise O365 account, they include backend connections to run powershell on the environment.
So anything you can powershell with exchange you can execute on your mail environment (including bulk SMTP addresses).
I would recommend searching for exactly what you're wanting to do with it though, its been a few years since I last used exchange powershell.

https://docs.microsoft.com/en-us/po...o-exchange-online-powershell?view=exchange-ps
 
It shouldn't matter assuming its a business/enterprise O365 account, they include backend connections to run powershell on the environment.
So anything you can powershell with exchange you can execute on your mail environment (including bulk SMTP addresses).
I would recommend searching for exactly what you're wanting to do with it though, its been a few years since I last used exchange powershell.

https://docs.microsoft.com/en-us/po...o-exchange-online-powershell?view=exchange-ps

Yes I know this but if it's synced from an on prem environment he will need to do this on prem and use the sync tool. This he might have a few more options like adsiedit or powershell like you suggested.
 
Back
Top