Editing Example User onboarding & offboarding Scripts

From Lucca's Wiki
Revision as of 17:17, 5 November 2024 by 45.27.172.161 (talk) (Created page with "<hr>User Onboarding<hr> <hr>User Offboarding<hr> echo "Connecting to 365..." Connect-MgGraph -NoWelcome -TenantId $tenantID Pause echo "Connecting to exchange online..." Connect-ExchangeOnline -UserPrincipalName $tenantAdminUsername Pause echo "Connecting to MSOnline..." Connect-MsolService Pause $user = Get-MgUser -UserId $userEmail echo "Making user a shared mailbox..." Set-Mailbox $userEmail -Type Shared echo "Waiting 60 seconds for the changes to appl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision β†’ (diff)
Jump to navigationJump to search
Warning: You are editing an out-of-date revision of this page. If you publish it, any changes made since this revision will be lost.

Warning: The database has been locked for maintenance, so you will not be able to publish your edits right now. You may wish to copy and paste your text into a text file and save it for later.

The system administrator who locked it offered this explanation: This wiki is a read-only mirror of my main wiki for public display. Please contact me at luccapirovano@gmx.com if you would like to request permission to edit the wiki. Thank you for visiting!

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
Please note that all contributions to Lucca's Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Lucca's Wiki:Copyrights for details). Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)