PowerShell Set-MSolUserLicense

Multi tool use
Multi tool use


I am trying to unassign a bulk of user's licenses from our Office365.



I have all of the user's UserPrincipalName on a CSV file like so:



That is what I tried to do:



When I had only one user on the CSV file, it works!
But when I try to add more users to the exact file and in the exact same list, the command fails and give me this error:



I doubled checked and made sure the it is indeed the correct license (domain:StandartPack)



What else can I do? How can I make it work?



You need to iterate each line in the csv at a time, at the moment you work with all of them at once, so try this:



**EDIT:



Try the following method as well (update if necessary)



You will need to iterate through all of the licenses assigned and find the one you are looking to remove.






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

k,m3IjKh,LnRZlhTDSAmff 3OhRUl,nP6bz4Y,EyD rn85oF9P0A,PVjYoBVl,YwJ A3RLvx0nCSo5jcvY3sZ
4beaw1wHJOE6RhytcaIsxm6l 0 09Rjg Zu We

Popular posts from this blog

The Dalles, Oregon

영화 미래의 미라이 다시보기 (2018) 다운로드 링크 무료보기

Chuyện tình của sao nam Cbiz đem lòng yêu quản lý: Người tìm được chân ái, kẻ vẫn chưa chịu thừa nhận