Azure AD Connect with ADFS customization.

So scenario was this. Customer has an Office 365 tenant all ready in-place. The users in Onpremise AD have SamAccountNames as UserPrincipalNames. The next step Is obvious. Add UPN-suffix and change UserPrincipalName to match email address. Then add mail-attribute for the users. Then install Azure AD Connect and do the…continue reading →

Assign Permissions to all mailboxes using Mail Enabled Security Group.

Hi, Add all users that need the following rights to a Mail Enabled Security Group. Then add permissions to calendars with this script: $allmailbox = Get-Mailbox -Resultsize Unlimited -Filter {RecipientTypeDetails -eq 'usermailbox'} Foreach ($Mailbox in $allmailbox) {     $path = $Mailbox.alias + ":" + (Get-MailboxFolderStatistics $Mailbox.alias | Where-Object { $_.Foldertype…continue reading →

Get all user lisences from Office 365 to csv.

Hi, Today I had to get a list from Office 365 with UserPrincipalName and MsolAccountSku. So here is the trick-script. $ReportPath = "c:userlist.csv" Add-Content -value ("UserPrincipalName"+","+"IsLicensed"+","+ "Licenses”) -Path $ReportPath $AllUsers = Get-MsolUser -All foreach ($User in $AllUsers) {  $UserPrincipalName = $User.UserPrincipalName  $IsLicensed = $User.IsLicensed  $Licenses = $User.Licenses.AccountSkuId  Add-Content -value ($UserPrincipalName+","+$IsLicensed+","+$Licenses)…continue reading →

Missed calls not showing in conversation history.

Today I figured out why Outlook 2010 and 2013 doesn't display this information anymore. Missed conversations and pstn-calls that the user calls out still work fine. To get it working again uninstall these updates: KB3101496 KB3114502 KB3114351 And it's working again. This isn't a permanent solution because these are security updates…continue reading →