Exclude "Sign in Blocked" user from dynamic distributiom list

%3CLINGO-SUB%20id%3D%22lingo-sub-2344687%22%20slang%3D%22en-US%22%3EExclude%20%22Sign%20in%20Blocked%22%20user%20from%20dynamic%20distributiom%20list%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2344687%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20all%2C%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20exclude%20a%20user%20that%20has%20the%20sign%20in%20blocked%20from%20the%20dynamic%20distrution%20list.%3C%2FP%3E%3CP%3EI%20already%20tried%20adding%20a%20custom%20attribute%20to%20exclude%20the%20user%20but%20it%20didn't%20work.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20someone%20help%20me%20figure%20this%20out%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2344687%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOutlook%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor

Hi all,

I am trying to exclude a user that has the sign in blocked from the dynamic distrution list.

I already tried adding a custom attribute to exclude the user but it didn't work.

 

Can someone help me figure this out?

1 Reply
There's no built-in attribute you can filter on, AccountDisabled/ExchangeUserAccountControl are not supported. Custom attributes should work just fine though, the problem is keeping them in sync with the BlockCredentials value.

If you don't necessarily need this to be an Exchange group, use a an Azure AD group with dynamic membership. Here's an example filter:

(user.accountEnabled -eq true)