office-docs-powershell icon indicating copy to clipboard operation
office-docs-powershell copied to clipboard

Teams 4.3.1 Get-CSOnlineUser incorrect InterpretedUserType

Open paulsysadmin opened this issue 3 years ago • 17 comments
trafficstars

Checking the user on older versions of the Teams Module produces AADConnectEnabledOnlineTeamsOnlyUser

Same user on 4.3.1 now showing as DirSyncEnabledOnlineTeamsOnlyUser

paulsysadmin avatar May 20 '22 07:05 paulsysadmin

@paulsysadmin I'll get back to you on this by Monday eod

isrumnon avatar May 20 '22 10:05 isrumnon

Hi @paulsysadmin the pre-fix "AADConnectEnabledOnline" in the IUT value has now been renamed to "DirSyncEnabledOnline" We're updating documentation to reflect the same

isrumnon avatar May 30 '22 18:05 isrumnon

Thanks @isrumnon . Did I miss something ? I thought DirSync was deprecated and long since replaced by AADConnect ?

paulsysadmin avatar May 31 '22 06:05 paulsysadmin

@isrumnon

yogkumgit avatar May 31 '22 08:05 yogkumgit

@isrumnon Kindly update, thanks.

yogkumgit avatar Jun 03 '22 16:06 yogkumgit

Hi @paulsysadmin DirSync is deprecated only for TeamsOnly organizations but still remains for Tenants that are Hybrid (have an OpPremise deployment)

isrumnon avatar Jun 06 '22 11:06 isrumnon

Hi @isrumnon I am aware of that as we are still a hybrid and we use AAD Connect to synchronise objects to Azure. My question is why in all previous versions of the module are the InterpretedUserTypes using AADConnect and now in 4.3.1 they have been switched to DirSync ?

Dirsync was replaced by AADConnect several years ago. Am I missing something ?

paulsysadmin avatar Jun 06 '22 17:06 paulsysadmin

@isrumnon

yogkumgit avatar Jun 14 '22 08:06 yogkumgit

Any update ?

paulsysadmin avatar Jun 27 '22 08:06 paulsysadmin

Still seeing InterpretedUserType : DirSyncEnabledOnlineTeamsOnlyUser on 4.5.0

paulsysadmin avatar Jul 06 '22 06:07 paulsysadmin

@isrumnon Please comment. Thanks

yogkumgit avatar Jul 11 '22 04:07 yogkumgit

@isrumnon, do you know if any work is in progress to fix incorrect InterpretedUserType values reported by Get-CsOnlineUser, when it is used without -Identity parameters. It is broken since v.3.x.x

Taking into account that v.2.6.0 stopped connecting to our tenants mid June, we have no viable means to use this very useful InterpretedUserType value. (Querying Get-CsOnlineUser one-by-one is not an option when dealing with tenants containing even just a few thousand users)

shivtorov avatar Jul 11 '22 05:07 shivtorov

Hi @paulsysadmin apologies for the delayed response, Dirsync was replaced by AADConnect a while back but still applies for organizations with an On-Prem presence. For the sudden change for your specific tenant - we'll need to look into it. Will contact you separately regarding the same.

@shivtorov For InterpretedUserType values in the output of Get-CsOnlineUser when it is used without -Identity vs when it is used with -Identity we're currently looking into it and investigating whether it is limited to a few organizations or widespread. Will updated this thread on findings

isrumnon avatar Jul 11 '22 11:07 isrumnon

Thanks @isrumnon I worked with several tenants in the last couple of months. The issue is consistent in all of them.

The most visible case for me is the users still homed in on-premises SFBS - for them Get-CsOnlineUser without -Identity always incorrectly report InterpretedUserType = HybridOnline* (e.g. HybridOnlineSfBUserWithTeamsLicense) instead of HybridOnpremSfBUserWithTeamsLicense

shivtorov avatar Jul 11 '22 12:07 shivtorov

@isrumnon Please comment.

yogkumgit avatar Jul 25 '22 05:07 yogkumgit

@yogkumgit am working with both customers offline to resolve

isrumnon avatar Jul 25 '22 18:07 isrumnon

Hi @isrumnon,

Are you planning to support again the filtering by whenCreated Azure AD attribute as part of Get-CsOnlineUser command (for human - based accounts)?

I assume that, this slot is intended for the date/time of the first sync (in hybrid mode) / creation (in cloud-only mode) of the user.

Thanks.

zaichornik avatar Aug 01 '22 09:08 zaichornik

@isrumnon Please comment and advise for closure. Thanks

yogkumgit avatar Aug 16 '22 08:08 yogkumgit

@isrumnon as you are working offline on this, can we clear it from here. Kindly guide us or close it if suitable. Thanks

yogkumgit avatar Aug 30 '22 07:08 yogkumgit

Hi @zaichornik we are not going to add WhenCreated but we will expose WhenChanged but even for this we are not going to expose this property for everyone but you can raise a support ticket to get it enabled for your tenant

isrumnon avatar Aug 31 '22 07:08 isrumnon

@yogkumgit we can close this ticket if there are no further questions

isrumnon avatar Aug 31 '22 07:08 isrumnon