MS365 User Not Showing Up

Status
Not open for further replies.

JosephInFL

Trainee Partner
Joined
Mar 13, 2023
Messages
11
Reaction score
0
I recently added 2 users to MS365. When I go to User Sync > Add Users, I see one but not the other. Any suggestions?
 
Let me know what additional information might be useful. Obviously the overall sync is working. Both users are in the same groups. There is nothing very unique going on, not sync'ing profile info or contacts or calendars.
 
  • Like
Reactions: Charles_3CX
You have to restart a service to force it.
Should be 3CX PhoneSystem 01 System Server, but might be something else.
WARNING: This might interrupt service to the PBX for a few moments. I don't think in flight calls dropped during my testing, but I would do it after hours. Then look for this in the system log and scroll down

Info|Office365AccessTokenManager.GetAsync START GetAcessTokenByCredentials
 
I set logging to verbose and then restarted that service. I see entries in the log for users that are currently sync'ed, but no mention of the user that I'm looking for. I'm not sure what else to look for.
 
Both users have names (first, last, display), and something for an email address?

If you do a Get-AzureADUser -ObjectId [email protected] | Select-Object * on both users and compare, what's different?
 
I ran the commands for both users and compared. I checked that both are usertype "member", both have usage location "US" and other fields are similar.
The main difference is that the user who IS in 3cx has no email or assigned plans or licenses. He is a temporary employee.
The user who IS NOT in 3cx does have those things. She is a new permanent employee. Her case is more standard and the majority of users already in 3cx are like her.
The Azure AD username and email address is the same, when the user has email.
I don't see anything else.
 
I ran the commands for both users and compared. I checked that both are usertype "member", both have usage location "US" and other fields are similar.
The main difference is that the user who IS in 3cx has no email or assigned plans or licenses. He is a temporary employee.
The user who IS NOT in 3cx does have those things. She is a new permanent employee. Her case is more standard and the majority of users already in 3cx are like her.
The Azure AD username and email address is the same, when the user has email.
I don't see anything else.
I'm like 99% sure you need to have an email address associated with the user. Perhaps someone else will chime in to confirm, but I don't think the 365 sync tool works without one.
 
As stated, the problem user does have an email address, where the user who is sync'ed does not.
From what I'm reading the sync is initiated from Azure. This user account is not available in the "Add User" selection. There are other users who don't sync that I can still see as available.
 
I misread your last post, sorry about that.

By any chance is the problem user's email address an address previously used by a 3CX user?
 
Good question. I'm not 100% sure but I don't think so, as they keep folders for retired users and there are no others with her first name, which is the user part of her email.
There's an outstanding update for 3cx that I'm going to run this evening. Maybe that will shake something loose. I'll update tomorrow.
 
Good question. I'm not 100% sure but I don't think so, as they keep folders for retired users and there are no others with her first name, which is the user part of her email.
There's an outstanding update for 3cx that I'm going to run this evening. Maybe that will shake something loose. I'll update tomorrow.
One other thing to check is the users already set to sync - make sure there isn't a blank user with that email address in the list
 
I added the user to an extension manually, with the email address. This morning, under Users, in the column "Synced with" it says "Microsoft 365". But under Settings > Microsoft 365 Integration, the user still isn't listed as one of the users being sync'ed. That doesn't make sense but I guess it's working.
 
I added the user to an extension manually, with the email address. This morning, under Users, in the column "Synced with" it says "Microsoft 365". But under Settings > Microsoft 365 Integration, the user still isn't listed as one of the users being sync'ed. That doesn't make sense but I guess it's working.
Sync column means it matches against someone in Azure, but changes in Azure won't update 365 if they are not in the sync column.

So changing name in Azure won't update 3CX in this case.
 
Status
Not open for further replies.

Forum statistics

Threads
111,974
Messages
590,081
Members
164,899
Latest member
mazet