Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
Not to make any assumptions ... how are you disabling/enabling connected services? We have used the reg hacks below, but it does not change a thing if we enable them.
DISABLE
[HKEY_CURRENT_USER\Software\Policies\Microsoft\office\16.0\common\privacy]
"disconnectedstate"=dword:00000002
"usercontentdisabled"=dword:00000002
"downloadcontentdisabled"=dword:00000002
"controllerconnectedservicesenabled"=dword:00000002
[HKEY_CURRENT_USER\Software\Policies\Microsoft\office\common\clienttelemetry]
"sendtelemetry"=dword:00000002
ENABLE
[HKEY_CURRENT_USER\Software\Policies\Microsoft\office\16.0\common\privacy]
"disconnectedstate"=dword:00000001
"usercontentdisabled"=dword:00000001
"downloadcontentdisabled"=dword:00000001
"controllerconnectedservicesenabled"=dword:00000001
[HKEY_CURRENT_USER\Software\Policies\Microsoft\office\common\clienttelemetry]
"sendtelemetry"=dword:00000001
I just did it using the Options - General - Privacy in Outlook. I think you can also do it from the Account page.
Of course, if you're trying to keep a user from messing with it, you need to do it in the registry or Group Policy, but I've never done that with my systems, so I can't help you there. Good luck.