Book Image

Microsoft Identity Manager 2016 Handbook

By : David Steadman, Jeff Ingalls
Book Image

Microsoft Identity Manager 2016 Handbook

By: David Steadman, Jeff Ingalls

Overview of this book

Microsoft Identity Manager 2016 is Microsoft’s solution to identity management. When fully installed, the product utilizes SQL, SharePoint, IIS, web services, the .NET Framework, and SCSM to name a few, allowing it to be customized to meet nearly every business requirement. The book is divided into 15 chapters and begins with an overview of the product, what it does, and what it does not do. To better understand the concepts in MIM, we introduce a fictitious company and their problems and goals, then build an identity solutions to fit those goals. Over the course of this book, we cover topics such as MIM installation and configuration, user and group management options, self-service solutions, role-based access control, reducing security threats, and finally operational troubleshooting and best practices. By the end of this book, you will have gained the necessary skills to deploy, manage and operate Microsoft Identity Manager 2016 to meet your business requirements and solve real-world customer problems.
Table of Contents (22 chapters)
Microsoft Identity Manager 2016 Handbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Automating run profiles


Let's first talk about automating your run profiles. Organizations typically run their Management Agents using Task Scheduler or some other task scheduler. To set this up, click on a Management Agent and then click on Configure Run Profiles. Click on the Script button and save the file:

If you save it as a VB Script file, you can run the particular run profile by running cscript filename.vbs. As VB Script is making a simple call to WMI, you could use PowerShell too. Whether you want to run your imports, synchronizations, and exports using Task Scheduler or some other product is up to you; just know that you will need to start the run profiles with a WMI call.

If you save the run profile as a C# file, you can compile the file into an executable (.exe) with csc.exe from a Visual Studio command prompt. Here is an example of compiling C:\SourceCode\HRFullImport.cs into C:\Scripts\HR-FI.exe:

csc C:\SourceCode\HRFullImport.cs /out:C:\Scripts\HR-FI.exe

As we have mentioned...