Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To setup data collection select the 'Line URI' tab when creating or editing the Teams Service in 'Manage Cloud Services'.

By default authentication for the Line URI data will be via the Application-based authentication already created, however this will need to have a specific role added to it as detailed below. The alternative to Application-based authentication is to authenticate with a specific user.

Application-based Authentication (Default)

Browse to Azure Portal AD https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade

In the search bar at the top search for 'Microsoft Entra roles and administrators' and then select it.

Image Added


In the search tool search for 'Teams', double click 'Teams  Communications Support Specialist'

Image Added

Click on 'Add Assignments'


Image Added


Search for the previously created App, then check the box next to it. Once done click the 'Add' button at the bottom


Image Added

Image Added

Service Account Authentication (optional)

If you do not wish to use the Application-based authentication a A service account will need to be created in Azure AD which has the role of 'Teams AdministratorTeams  Communications Support Specialist', an existing account with this role can also be used:.

Create service account

In Azure AD click 'New User> Create new user'

...

Click the 'Assignments' tab, then click 'Add role'.

Search the directory doles roles for 'Teams AdministratorCommunications Support Specialist' and check the box for this.

Image RemovedImage Added

Then click on 'Review +create'  at the bottom left of the screen.

...

Right click the Teams service you wish to add Line URI configuration for, then select 'Edit'.

Image Removed

If you used Application-based authentication simply check the 'Enable Line URI collection' box.

Image Added

If you opted for Service account authentication check the 'Enable Line URI collection' box, then move the radio button to 'Use Service Account' then populate the 'Account' and 'Credential' fields

Image AddedSelect the 'Line URI' tab and populate the following fields:


FieldValue
AccountUsername of the service account
CredentialPassword of the service account

Account SKU Id (optional)

If this field is blank, user data for all O365 SkuPartNumber's will be collected. If you wish to limit data collection to users of a specific O365 AccountName and SkuPartNumber

...

then this field will need to be populated..

Note

This is a two part field made up of the ‘AccountName’ and the ‘SKUPartNumber’ in the format Accountname:SkuPartNumber.

...

The AccountName is optional so you can just enter the SkuPartNumber if there is not more than

...

one AccountName for the MS Teams Service


The AccountName and SkuProductNumber can be obtained by an Azure AD administrator for the business, they will need to have the Microsoft Graph PowerShell SDK installed:

...