Microsoft 365 features that help users manage their subscriptions, account settings, and billing information.
Hi Brian,
Thanks for your information in Private Message.
The files you provided have correct formats.
According to my test, I am able to remove licenses from a csv file using following scripts:
1.
connect-msolservice
(Sign in with your administrator account)
2.
Import-Csv "<your csv file path>" | ForEach-Object {
$User = Get-MsolUser -UserPrincipalName $_.UserPrincipalName
Set-MsolUserLicense -UserPrincipalName $User.UserPrincipalName -RemoveLicenses <your domain>:VISIOCLIENT
}
(Change the CSV file path and the domain name and copy the scripts to powershell then press enter)
3.
To check the result, please sign in Office 365 portal and check one user if his visio license is removed in "Active users".
In addition, if there are any error messages when you run the scripts, please capture the screenshots to share with me and I will provide further help for you.
Best Regards,
Gloria