Description
.DESCRIPTION
The Script connect to the exchange online and AzureAD or your on-premises Environment. It collects the Mailbox information (UserPrincipalName) from the exchange online or on-premise Environment and the LineURI form AzureAD. The phonenumber will be modified to be usable as Extention to enable the UM Role on Exchange for all Users. The Script Lists all existing UM-Policies and shows it a chooseble options during the Script.
.CHANGE LOG
V1.00, 2017/11/03 - Initial version - (Enable UM in exchange online)
V2.00, 2017/11/14 - Added on-premise as a options | choose between Office365 and on-premise environment after starting Script to enable UM
V2.10, 2017/11/18 - Added the option to choose the Extension number length during the script execution, Added AzureAD module check (if O365 is selected)
V2.50, 2017/11/18 - Added support for MSonline module, added comments, added error count for summary
V2.52, 2017/12/04 - Added selection menu for recipient types, added check if assigned plans for user includes services 'MicrosoftCommunicationsOnline' and 'exchange'
.NOTES
A Documentation about the Script how it works you can find in my Blog here:
https://www.msb365.blog/?p=660
Verified on the following platforms
| Windows 10 | Yes |
| Windows Server 2012 | No |
| Windows Server 2012 R2 | Yes |
| Windows Server 2008 R2 | No |
| Windows Server 2008 | No |
| Windows Server 2003 | No |
| Windows Server 2016 | No |
| Windows 8 | No |
| Windows 7 | No |
| Windows Vista | No |
| Windows XP | No |
| Windows 2000 | No |