Automatically Link ServiceNow User Profile on App Installation vs Bulk Pre-Linking?

Niclas
Giga Guru

When users install the ServiceNow for MS Teams App, we want that during ServiceNow is automatically linking the MS Teams Account to the ServiceNow Account. On Conversational Integration Settings there is a setting "Automatically Link ServiceNow User Profiles". We have activated that setting and it works fine when User installs the App:

Niclas_1-1671203859910.png

 

 

But we are now also starting to see Errors in the Application Log: "VAMicrosoftTeamsUtil :: [MS Teams Pre linking Error] The AD Spoke connection alias 'sn_azure_ad_spoke.AzureAD' is not configured completely"

 

Apparently that is caused by Scheduled Job MS Teams Daily Pre Install Job , which tries to Bulk Link 10.000 Users, and get's activated with above setting as well. 

 

I'm confused know, what the setting "Automatically Link ServiceNow User Profile" is actually supposed to mean. It seem like to address two different Scenarios at once, is it?  

  1. Automatically Link User Account, when User installs the App, which es explained here in the Docs
  2. Do some Bulk Linkage of Accounts even if Users have not installed the ServiceNow for MS Teams App yet, which is explained here in the Docs

 I like the auto-linkage happening if you install the App.  The bulk one I also see a valid Use Case for, but having it also activated seems to be extra hassle as you need to set up Azure AD Spoke on top to the MS Teams Spokes, and if you don't do so Errors will pop up in your logs. 

 

I think the only way to keep the auto-linkage for Users installing the App but disabling the Bulk-Linkage would be to manually deactivate the Scheduled Job? Would that be the recommend way?

2 REPLIES 2

paulcurwen_pgds
Tera Contributor

The Scheduled Job 'MS Teams Daily Pre Install Job' will also do the job of bulk connecting all existing active users linked with their AD account. Then daily, new users will be delta linked.

 

The error you are seeing means that your AD spoke is not connected correctly: 

 

VAMicrosoftTeamsUtil :: [MS Teams Pre linking Error] The AD Spoke connection alias 'sn_azure_ad_spoke.AzureAD

 

Best option is to place a Support Call on this. I also had issues getting this up and running to start with , the documentation is just confusing. 

sicad_
Tera Contributor

Hello Niclas,

 

We also have the same issue: the error message in the logs and users that weren't linked when we have configured the Microsoft Teams integration. How did you fixed it? You have installed and configured the Azure AD spoke (sn_azure_ad_spoke)?