Forum Discussion
SonJim212
Oct 03, 2023Copper Contributor
Trying to use Remove-MgGroupMemberByRef but getting errors
We are trying to setup an automation of removing users from a security group at the end of each day. I want to use the Remove-MgGroupMemberByRef cmdlet but I cannot for the life of me get it working....
SonJim212
Oct 09, 2023Copper Contributor
Hi Ole,
Just checked and we have that .Net version installed.
it's very strange.
Should I remove and reinstall maybe?
Thanks
Just checked and we have that .Net version installed.
it's very strange.
Should I remove and reinstall maybe?
Thanks
randriksen_
Oct 09, 2023Brass Contributor
SonJim212 I think that's what I would do.
or try to run the .Net repair tool: https://support.microsoft.com/en-us/topic/microsoft-net-framework-repair-tool-is-available-942a01e3-5b8b-7abb-c166-c34a2f4b612a#:~:text=1%20Tries%20to%20troubleshoot%20setup%20issues%202%20Applies,4%20Collects%20logs%20%28requires%20user%20consent%29%20More%20