Short blog post today with a script that exports the root contact list or a specific folder of a users Exchange Online mailbox. You need an Azure application with the app right Contact.Read. If you don't know how to use Graph API in PowerShell and create an Azure app, take a look here at my … Continue reading Export a users Exchange Online contact list/folder with Graph API!
First of all, this can be you if you automate holiday updates in AutoAttendant with my script: A couple of days ago Microsoft realeased new features in preview for AutoAttendant. AutoAttendant in Skype for Business Online finaly have the ability to create holiday schedules! After fixing a bug that outputted wronge date values, i made … Continue reading Automatic update Holidays in AutoAttendant.
Short script that gets all the users in your Office 365 tenant, and finds the password age. Creates a list with UPN and password age, then sort by oldest password. Also finds the average password age for your tenant.
Wrote a short script that list all SharePoint sites in your Office 365 tennant with the LastItemUserModifiedDate. Could be handy to see if some sites are not used anymore. First i used Get-SPOSite and LastContentModified, but after some research it turned out that it was not so reliable: https://social.msdn.microsoft.com/Forums/office/en-US/6e264b4e-e4b4-4b46-a7b0-9686c0f6128e/lastcontentmodifieddate-is-not-giving-me-the-right-values-for-site-collections-sharepoint-online?forum=sharepointdevelopment My script is a modified version … Continue reading SharePoint LastItemUserModifiedDate
Script for listing all groups with owners and members in Office 365. Added count of groups left to process to see progress when running scripts in large environments. Run either: Get-UnifiedGroup | Get-Member or Get-UnifiedGroupLinks | Get-Member to see what other properties you get add to the report. The script creates one CSV file for … Continue reading Office 365 Groups reporting
I started googling around to see if Teams had any PowerShell commandlets. Does not look like it, but its a work in progress. There is still a way to interact with Teams trough PowerShell. There is a connector in Teams called Incoming Webhook. This connector can post notifications from any scripting language trough JSON formatted … Continue reading Custom notifications in Microsoft Teams
The inspiration for this script came from Chris Hayward´s blogpost/script for creating holiday sets from a JSON source: http://chrishayward.co.uk/2017/07/07/skype-for-business-automatically-set-rgs-holiday-sets-with-powershell-and-json/ As he mentions in the blogpost, the only source for JSON dates for most countries is sites that cost $$$. I ended up with the same conclusion. I thought that there should be a way to … Continue reading Skype for Business – Automatic RGS Holidayset
Registered myself a Office 365 trial account some time ago: https://signup.microsoft.com/Signup?OfferId=101bde18-5ffb-4d79-a47b-f5b2c62525b3&dl=ENTERPRISEPREMIUM&culture=us-us&country=us&ali=1 As self education, i wanted to create a bulk administration script for Office 365. This to bether understand O365 and how PowerShell works with it. I ended up writing a bulk administration script with the following features: -Create Office 365 users from a list … Continue reading Office 365 bulk administration
My script from Skype for Business security post is now rewritten and updated with 3 new features. The script can now do 4 things: - Disable all Lync/SfB users thats disabled in AD - Delete all Lync/SfB users thats disabled in AD - Disable user in Lync/SfB and AD - Delete user in Lync/Sfb and disable in AD Have also added … Continue reading User removal/disabling script updated
I start of my first blogpost with a PowerShell script. My experience is that most Active Directory admins disable a user in AD and move them to an OU called "Disabled Users" and underlying OU named by the month they are disabled. Then they delete disabled users every 3 month or so. Most AD admins … Continue reading Skype for Business security