Posts

Showing posts with the label Unified Groups

Get Members from Unified Groups

Image
If you wish to read the members from an Office 365 Group/ Unified group you have to use the Get-UnifiedGroupLinks cmdlet. Get-UnifiedGroupLink {GroupName} -LinkType Members $UG = Get-UnifiedGroup Sales Get-UnifiedGroupLinks $UG.Id -LinkType Members

Change Office 365 Group Email Address

If might be necessary changing the Unified Groups email address. This could necessary, because you created the Unified Group with your tenant.onmicrosoft.com domain. In this case simply us the following cmdlet: Set-UnifiedGroup -Identity group@tenant.onmicrosoft.com -PrimarySmtpAddresses "new@domain.com" Instead, if you need adding an additional email address: Set-UnifiedGroup -Identity group@tenant.onmicrosoft.com -EmailAddresses:@{add="add-email@domain.com"} Note: Y ou can use the groups email address or the groups displayname for identification.  It is even not necessary writing -Identity  You cannot change the PrimarySmtpAddresses and EmailAddresses at the same time. If you change the PrimarySmtpAddresses, where this address isn't in the EmailAddresses, the PrimarySmtpAddress will be automatically added to the EmailAdresses

Office 365 Groups change Primary SMTP Address

Image
Several settings can only be changed via PowerShell. One of this in Office 365 Unified Groups is the SMTP Primary Address. First you run PowerShell in Admin Mode and login to Exchange Online: Set-ExecutionPolicy RemoteSigned $credential = Get-Credential Connect-MsolService -Credential $credential loading the Exchange Online Module: $exchangeSession = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri " https://outlook.office365.com/powershell-liveid/ " -Credential $credential -Authentication "Basic" -AllowRedirection Import-PSSession $exchangeSession -DisableNameChecking Next listing all your Office 365 Unified Groups: Get-UnifiedGroup | fl name,alias,*smtp* Once you identified the group, you change the SMTP: Set-UnifiedGroup -Identity sfbusergroup-cologne -PrimarySmtpAddress sfbusergroup-nrw@skype4b-ug.de Further more, you can change the all other attributes. https://technet.microsoft.com/library/mt238274(v=e...