I have tried using this Powershell script but it gives me this error
Hello,
The script can only be used in Adaxes 2021.1. Use the below script instead. For the script to work, install the Exchange EXO V2 module on the computer where Adaxes service runs.
Import-Module ExchangeOnlineManagement $groupNames = @("MyGroup1", "MyGroup2", "MyGroup3") try { # Get the object ID in Microsoft 365 $objectId = [Guid]$Context.TargetObject.Get("adm-O365ObjectId") } catch { return # The user doesn't have a Microsoft 365 account } Connect-ExchangeOnline -Credential $Context.GetOffice365Credential() foreach ($groupName in $groupNames) { # Add user to group try { Add-DistributionGroupMember $groupName -Member $objectId.ToString() -BypassSecurityGroupManagerCheck -ErrorAction Stop } catch { $Context.LogMessage("An error occurred when adding the user to $groupName group. Error: " + $_.Exception.Message, "Warning") } }
Hi All, I was following the following documentation https://www.adaxes.com/tutorials_DelegatingPermissions_GrantRightsToModifyADGroupMembership.htm However I cannot work out how to make it ... can only add themselves. Any help would be great. Many Thanks
Hi All, I am looking for a script i can use in adaxes, that removes all delegates for an exchange O365 mailbox, and reset their MFA tokens as well. I ... ($mailbox.Identity)" } } } # Disconnect from Exchange Online Disconnect-ExchangeOnline -Confirm:$false
Is it possible to do something such as this: When creating a user in the web interface, setup the form so that certain fields have a dropdown list of available values, ... "department", they would see a dropdown list of pre-populate options to choose from.
Hi Guys, You probably already met with a similar problem in your organization. Communications Department has dozens of distribution groups, that need to be updtaed base on some ... do the job. Maybe you can share some better solution to achieve same goal.
I'm trying to automate adding users who are enrolled in MFA to an AD group. The scripts I found elsewhere here that do not work so I believe they may have been written against a prior Adaxes version or referencing a report that does not meet our needs.