Export All Mailboxes Calendar permisson to CSV

Below is a script that will export calendar permissions to utf8-formatted csv-file. Works with Onpremise Exchange as well as Exchange Online.

Continue Reading Export All Mailboxes Calendar permisson to CSV

Java and Shibboleth authentication with Azure REST API and ADFS.

The last blog entry was about setting up Onpremise AD with Office 365 and ADFS. So now to the instresting part. I’m going a little bit awol with this, as I’m not a coder. First about Azure authentication. https://docs.microsoft.com/en-us/azure/app-service-api/app-service-api-whats-changed#authentication And specially…

Continue Reading Java and Shibboleth authentication with Azure REST API and ADFS.

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…

Continue Reading Azure AD Connect with ADFS customization.

Skype For Business Hybrid and Get-Webticket error 0x80048257.

Hi all, Yesterday I saw an error I haven’t seen before. I was setting up a Shared Namespace Hybrid with S4B Server 2015 and this came by: I spent several hours solving this, but nothing was found. Until I found…

Continue Reading Skype For Business Hybrid and Get-Webticket error 0x80048257.

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 =…

Continue Reading Assign Permissions to all mailboxes using Mail Enabled Security Group.

Find a User with certain SID.

Hi, Powershell is the way. Open powershell and type: import-module activedirectory  Then. $strSID=”Enter SID Here” $uSid = [ADSI]”LDAP://<SID=$strSID>” echo $uSid Have a nice one,

Continue Reading Find a User with certain SID.

How to find computers with a name starting with something and add them to a security group.

Dou, that was a long sentence 🙂 But here is how. $computers = get-adcomputer -ldapfilter “(name=name*)” $computers | foreach {Add-ADGroupMember -id name_of_the_group -MEMBERS $computers.samaccountname} Happy powershelling!

Continue Reading How to find computers with a name starting with something and add them to a security group.

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 =…

Continue Reading Get all user lisences from Office 365 to csv.

Enable or Disable Trace Logging in Dirsync and Azure AD Connect.

 The following page has all is needed. Steps to Enable Debug Tracing for Microsoft Online Services Sign-In Assistant Steps to Disable Debug Tracing for Microsoft Online Services Sign-In Assistant   http://social.technet.microsoft.com/wiki/contents/articles/18103.microsoft-online-services-sign-in-assistant-how-to-enable-debug-tracing.aspx

Continue Reading Enable or Disable Trace Logging in Dirsync and Azure AD Connect.

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….

Continue Reading Missed calls not showing in conversation history.