You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setup/Install-IamAutomation.ps1: sets up a machine in one run. Installs the eight Microsoft Graph submodules the scripts use, all at one version, into PowerShell 7's own folders (-Scope AllUsers for a shared jump box or when Documents is in OneDrive), optionally ExchangeOnlineManagement, unblocks the files, registers the event log source when elevated, and adds a Start menu shortcut for the IAM console (-ConsolePath). Checks each module landed, and reports the ActiveDirectory module, execution policy and config without changing them.
Setup/Set-IamSignature.ps1: signs every .ps1 and .psm1 in a deployed copy with your code-signing certificate (SHA256, timestamped) for AllSigned or AppLocker. -Verify reports each file's signature. Refuses a git working copy unless -Force.
Connect-IamGraph stops with a clear message when the Graph modules are not installed for this PowerShell 7.
Tested in the lab
Installer on a deployed copy, CurrentUser then AllUsers, console shortcut opening the console. Three issues found and fixed before release: modules installed for Windows PowerShell counted as present, a module in use reported as installed, a minimised shortcut.
Signing with a self-signed certificate: 25 files signed and timestamped, all valid, a report and the console run under AllSigned, an edited script refused as not digitally signed.