Skip to content

Instantly share code, notes, and snippets.

Jeff Ingalls msidmvp

Block or report user

Report or block msidmvp

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@msidmvp
msidmvp / gist:7156615d507d49e8c0bafc3c72a50666
Last active May 8, 2019
Adding AAD members to an AAD group based on CSV file
View gist:7156615d507d49e8c0bafc3c72a50666
# Read in a list of user accounts from a CSV
#
# -- Begin sample CSV file --
# Username
# dtrump
# bobama
# gbush
# -- End sample CSV file --
#
$GroupObjectID = (Get-AzureADGroup -SearchString "your_groupname_here").ObjectID
@msidmvp
msidmvp / EnableEncryptedO365Mail.ps1
Created Jun 1, 2017
Enable Encypted Mail in O365
View EnableEncryptedO365Mail.ps1
# Subscription Requirement:
#
# O365 E3/E4 subscription or O365 subscription w/ standalone Windows Azure Rights Management
#
# Software Requirements:
#
# 1. Download Microsoft Online Services Sign-In Assistant
# http://www.microsoft.com/en-us/download/details.aspx?id=41950
#
# 2. Download Azure AD Module
@msidmvp
msidmvp / PS1
Created Apr 5, 2017
MIM: How To Check Pending Deletes Before Performing An Export
View PS1
#####################################################################################################
# Simple PowerShell script to prevent running an export if more than 1000 objects are pending delete
#
# More information on FIM and MIM WMI:
# https://msdn.microsoft.com/en-us/library/windows/desktop/ms697764(v=vs.100).aspx
#
$miisWmiObject = get-WMIObject –class MIIS_ManagementAgent –namespace root/MicrosoftIdentityIntegrationServer –filter "Name='ADMA'"
$exportdeletes = $miiswmiobject.NumExportDelete().returnvalue
if ($exportdeletes > 1000)
You can’t perform that action at this time.