SetConnect

Office365DeleteLicense

Office365::Office365DeleteLicense

Description

Deletes a license of a mailbox on Office365 (online). This plugin uses powershell and requires "Basic Authentication" to be enabled on the powershell IIS webservice.

Tips on how to make this work:

CLIENT

You need to configure WinRM on the client to:
1. Allow unencrypted traffic
2. Trust the remote machine

The easiest way to to this is via the Local Group Policy user interface. To access it, hit the windows start button, type run, run the “run” program, this opens the famous “run” window (which is wired to the Windows Key + R shortcut), on the run window enter gpedit.msc . You’re now looking at the Local Group Policy user interface. In the tree view go to “Local Computer Policy > Computer Configuration > Administrative Templates > Windows Components > Windows Remote Management (WinRM) > WinRM Client” and configure the previously listed items.

Office365 Server Configuration
Office365 powershell URL

The URL which points to the powershell website of Office365.

Username
Username to use for the "Basic Authentication" connection.
Password
Password to use for the "Basic Authentication" connection.
 
UserPrincipalName
The UserPrincipalName for which the license must be deleted.
License type
The license type of which the license must be deleted.

Documentation

Release notes