SOLVED

Enable Microsoft Teams "Register Teams as the chat app for office" Via GPO or Registry

%3CLINGO-SUB%20id%3D%22lingo-sub-356838%22%20slang%3D%22en-US%22%3EEnable%20Microsoft%20Teams%20%22Register%20Teams%20as%20the%20chat%20app%20for%20office%22%20Via%20GPO%20or%20Registry%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-356838%22%20slang%3D%22en-US%22%3E%3CP%20class%3D%22s90z9tc-10%20fHRkcP%22%3EI%20need%20to%20enable%20via%20GPO%20or%20registry%20the%20Microsoft%20Teams%20%22Register%20Teams%20as%20the%20chat%20app%20for%20office%22%20function.%20Is%20this%20possible%3F%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-356838%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-356852%22%20slang%3D%22en-US%22%3ERe%3A%20Enable%20Microsoft%20Teams%20%22Register%20Teams%20as%20the%20chat%20app%20for%20office%22%20Via%20GPO%20or%20Registry%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-356852%22%20slang%3D%22en-US%22%3EEither%20manually%20or%20by%20setting%20the%20users%20to%20teams%20only%20mode%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-356850%22%20slang%3D%22en-US%22%3ERe%3A%20Enable%20Microsoft%20Teams%20%22Register%20Teams%20as%20the%20chat%20app%20for%20office%22%20Via%20GPO%20or%20Registry%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-356850%22%20slang%3D%22en-US%22%3E%3CP%3EIs%20there%20a%20workaround%20or%20do%20the%20users%20need%20to%20manually%20do%20so%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-356847%22%20slang%3D%22en-US%22%3ERe%3A%20Enable%20Microsoft%20Teams%20%22Register%20Teams%20as%20the%20chat%20app%20for%20office%22%20Via%20GPO%20or%20Registry%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-356847%22%20slang%3D%22en-US%22%3EAfaik%20no%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1386171%22%20slang%3D%22en-US%22%3ERe%3A%20Enable%20Microsoft%20Teams%20%22Register%20Teams%20as%20the%20chat%20app%20for%20office%22%20Via%20GPO%20or%20Registry%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1386171%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F284113%22%20target%3D%22_blank%22%3E%40BENT17%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20struggled%20also%20upon%20this%2C%20and%20figured%20out%20that%20you%20have%20to%20build%20a%26nbsp%3B%20user%20settings%20GPO%20which%20adds%20(if%20not%20exists)%20or%20changes%20the%20REG_SZ%20value%20named%20DefaultIMapp%20to%20Teams%20in%20the%20following%20key%3A%3C%2FP%3E%3CP%3EHKEY_CURRENT_USER%5CSoftware%5CIM%20Providers%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20942px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F191303i4D1AD522DAB43F19%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20testd%20and%20verified%20that%20when%20i%20deselect%20the%20%22Register%20Teams%20as%20the%20chat%20app%20for%20Office%22%20option%20in%20Teams%20preferences%2C%20the%20complete%20DefaulIMApp%20disappears%20and%20vice%20versa.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20can%20also%20be%20done%20by%20editing%20the%20desktop-config.json%20file%20in%3A%3C%2FP%3E%3CP%3E%25USERPROFILE%25%5CAppData%5CRoaming%5CMicrosoft%5CTeams%5Cdesktop-config.json%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Echange%3A%3C%2FP%3E%3CP%3E%22registerAsIMProvider%22%3Afalse%3C%2FP%3E%3CP%3Eto%3A%3C%2FP%3E%3CP%3E%22registerAsIMProvider%22%3Atrue%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETo%20automate%20this%20you%20can%20use%20the%20following%20powershell%20line%3A%3C%2FP%3E%3CP%3E((Get-Content%20-path%20%22%24env%3Auserprofile%5CAppData%5CRoaming%5CMicrosoft%5CTeams%5Cdesktop-config.json%22%20-Raw)%20-replace%20'%22registerAsIMProvider%22%3Afalse'%2C'%22registerAsIMProvider%22%3Atrue')%20%7C%20Set-Content%20-Path%20%22%24env%3Auserprofile%5CAppData%5CRoaming%5CMicrosoft%5CTeams%5Cdesktop-config.json%22%3C%2FP%3E%3CP%3ESo%20far%20my%20contribution%20to%20this%20community%20%3A)%3C%2Fimg%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1501573%22%20slang%3D%22en-US%22%3ERe%3A%20Enable%20Microsoft%20Teams%20%22Register%20Teams%20as%20the%20chat%20app%20for%20office%22%20Via%20GPO%20or%20Registry%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1501573%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F72542%22%20target%3D%22_blank%22%3E%40adam%20deltinger%3C%2FA%3E%26nbsp%3B%20We%20went%20to%20Teams%20Only%20mode%20last%20night%20and%20our%20users%20are%20having%20to%20manually%20make%20the%20change%20in%20Teams%20application.%20Now%20we%20are%20look%20at%20the%20GPO%20option%20mentioned%20by%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F666216%22%20target%3D%22_blank%22%3E%40mhvanderhoek%3C%2FA%3E%26nbsp%3B.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1501625%22%20slang%3D%22en-US%22%3ERe%3A%20Enable%20Microsoft%20Teams%20%22Register%20Teams%20as%20the%20chat%20app%20for%20office%22%20Via%20GPO%20or%20Registry%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1501625%22%20slang%3D%22en-US%22%3EGive%20it%20some%20more%20time%20and%20it%20will%20probably%20fix%20itself%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1501985%22%20slang%3D%22en-US%22%3ERe%3A%20Enable%20Microsoft%20Teams%20%22Register%20Teams%20as%20the%20chat%20app%20for%20office%22%20Via%20GPO%20or%20Registry%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1501985%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F72542%22%20target%3D%22_blank%22%3E%40adam%20deltinger%3C%2FA%3E%26nbsp%3B%20Ok--We%20will%20wait%20a%20full%2024%20hours%20and%20see%20it%20it%20fixes%20itself.%26nbsp%3B%20Would%20take%20longer%20than%20that%20to%20get%20the%20approvals%20to%20push%20out%20a%20GPO%20change.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1529735%22%20slang%3D%22en-US%22%3ERe%3A%20Enable%20Microsoft%20Teams%20%22Register%20Teams%20as%20the%20chat%20app%20for%20office%22%20Via%20GPO%20or%20Registry%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1529735%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F388224%22%20target%3D%22_blank%22%3E%40SusanMcClements%3C%2FA%3E%26nbsp%3B%20%26nbsp%3BI'm%20curious%20if%20this%20issue%20was%20resolved%20using%20Adam's%20advice%20to%20give%20it%2024%20hours.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1725368%22%20slang%3D%22en-US%22%3ERe%3A%20Enable%20Microsoft%20Teams%20%22Register%20Teams%20as%20the%20chat%20app%20for%20office%22%20Via%20GPO%20or%20Registry%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1725368%22%20slang%3D%22en-US%22%3E%3CP%3EEditing%20the%20.JSON%20works.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGood%20solution.%20Will%20try%20the%20powershell%20and%20report%20back...but%20it%20looks%20right%20from%20reading.%20Nice%20job.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2159087%22%20slang%3D%22en-US%22%3ERe%3A%20Enable%20Microsoft%20Teams%20%22Register%20Teams%20as%20the%20chat%20app%20for%20office%22%20Via%20GPO%20or%20Registry%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2159087%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F388224%22%20target%3D%22_blank%22%3E%40SusanMcClements%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EJust%20curious%2C%20did%20this%20eventually%20work%20itself%20out%20and%20enable%20the%20setting%20after%20switching%20to%20Teams%20Only%20mode%3F%26nbsp%3B%20Thanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2363053%22%20slang%3D%22en-US%22%3ERe%3A%20Enable%20Microsoft%20Teams%20%22Register%20Teams%20as%20the%20chat%20app%20for%20office%22%20Via%20GPO%20or%20Registry%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2363053%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F92167%22%20target%3D%22_blank%22%3E%40Joe%20McGowan%3C%2FA%3E%26nbsp%3BI%20tried%20everything%3A%20Set%20the%20registry%20%22IM%20Providers%22%20to%20Teams%20AND%20added%20to%20the%20json%20file%3CBR%20%2F%3E%22appPreferenceSettings%22%3A%20%7B%22registerAsIMProvider%22%3Atrue%7D%3CBR%20%2F%3Eas%20this%20entry%20is%20missing%20if%20the%20user%20never%20logs%20in%20to%20Teams%20after%20first%20Windows%20logon!%3C%2FP%3E%3CP%3EThe%20Powershell%20does%20nothing%20of%20course%20if%20the%20entry%20is%20not%20there.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

I need to enable via GPO or registry the Microsoft Teams "Register Teams as the chat app for office" function. Is this possible??

11 Replies

Is there a workaround or do the users need to manually do so?

Either manually or by setting the users to teams only mode
best response confirmed by ThereseSolimeno (Microsoft)
Solution

@BENT17 

 

I struggled also upon this, and figured out that you have to build a  user settings GPO which adds (if not exists) or changes the REG_SZ value named DefaultIMapp to Teams in the following key:

HKEY_CURRENT_USER\Software\IM Providers

 

image.png

 

I've testd and verified that when i deselect the "Register Teams as the chat app for Office" option in Teams preferences, the complete DefaulIMApp disappears and vice versa.

 

This can also be done by editing the desktop-config.json file in:

%USERPROFILE%\AppData\Roaming\Microsoft\Teams\desktop-config.json

 

change:

"registerAsIMProvider":false

to:

"registerAsIMProvider":true

 

To automate this you can use the following powershell line:

((Get-Content -path "$env:userprofile\AppData\Roaming\Microsoft\Teams\desktop-config.json" -Raw) -replace '"registerAsIMProvider":false','"registerAsIMProvider":true') | Set-Content -Path "$env:userprofile\AppData\Roaming\Microsoft\Teams\desktop-config.json"

So far my contribution to this community :) 

@adam deltinger  We went to Teams Only mode last night and our users are having to manually make the change in Teams application. Now we are look at the GPO option mentioned by @mhvanderhoek .

Give it some more time and it will probably fix itself

@adam deltinger  Ok--We will wait a full 24 hours and see it it fixes itself.  Would take longer than that to get the approvals to push out a GPO change.

Hi @SusanMcClements   I'm curious if this issue was resolved using Adam's advice to give it 24 hours. 

Editing the .JSON works.

 

Good solution. Will try the powershell and report back...but it looks right from reading. Nice job.

@SusanMcClements 

 

Just curious, did this eventually work itself out and enable the setting after switching to Teams Only mode?  Thanks.

@Joe McGowan I tried everything: Set the registry "IM Providers" to Teams AND added to the json file
"appPreferenceSettings": {"registerAsIMProvider":true}
as this entry is missing if the user never logs in to Teams after first Windows logon!

The Powershell does nothing of course if the entry is not there.