0 votes

Rule-based membership fails for security enabled distribution group with error "The term 'Add-DistributionGroupMember' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again." image.png

So adaxes obviously know it is distribution group, but somehow forgets to connect to Exchange Online before running this PowerShell command.


Here is rule based set up.image.png

by (960 points)

1 Answer

0 votes
by (292k points)

Hello,

The issue occurs because the application used to register your Azure AD domain in Adaxes does not have the required permissions. For details on the permissions, have a look at the following help article: https://www.adaxes.com/help/RegisterAdaxesAsAppMicrosoftAzure. The easiest way is to follow the steps from section Add API permissions. Pay attention to the Admin consent part and assigning roles as well.

Related questions

0 votes
1 answer

Hi, I need business rule that will forbid changing group membership type to rule-based for selected groups. Additionally I need PowerShell script for adding more groups to be watched by this rule. Thanks in advance!

asked Mar 9, 2023 by KIT (960 points)
0 votes
1 answer

Hi, I would like to exclude users from a rule-based group where distinguishedName contains "Special". Any possibility to achive this?

asked Jul 4, 2023 by wintec01 (1.5k points)
0 votes
1 answer

Maybe there is a better way to accomplish this, so I'm open to suggestion. We are in a hybrid setup between onprem and M365. When we create a new user, they are ... command in the previous step, right? If needed, I can provide the full script. Thanks!

asked Nov 2, 2023 by AndrewMeyer (20 points)
0 votes
1 answer

Hi, something has happened to our shared mailbox creation, on prem and syncing with o365 (we're a hybrid environment) the process works. With no issues. When a new shared ... I'm assuming at the moment it's an Adaxes issue with accessing the o365 information.

asked Jan 27, 2023 by gazoco (490 points)
0 votes
1 answer

I followed these instructions but still don't see the edit button unless I log in with my full adaxes administrator account. https://www.adaxes.com/ ... Membership" to the Group Manager built in security role. What am I missing?

asked Mar 4, 2021 by mark.it.admin (2.3k points)
3,564 questions
3,255 answers
8,264 comments
547,915 users