Human Capital Management Blogs by Members
Gain valuable knowledge and tips on SAP SuccessFactors and human capital management from member blog posts. Share your HCM insights with a post of your own.
cancel
Showing results for 
Search instead for 
Did you mean: 
CarsonWongCBL
Active Participant
[UPDATE on 6 Feb 2021: The comprehensive guide with detailed configuration steps in LMS and Microsoft Azure has been posted in KBA#3113230 as Supplementary VLS Configuration for Microsoft Teams. You are advised to check the KBA instead of this blog]

 

SuccessFactors has recently (2H 2021) released the LMS VLS integration with Microsoft Teams, while the configuration steps are not comprehensive enough especially on Microsoft Azure side.

This blog quickly demonstrates how configuration has been made on both SuccessFactors LMS and Microsoft Azure.

Since there are still limitations/bugs to be solved by SuccessFactors, this blog post may be revised someday.

 

Ref:

  1. SAP Help Portal - Implementing Virtual Learning System (VLS)

  2. SAP KBA - 3113230 - Microsoft Teams - VLS Implementation Supplementary Links

  3. SuccessFactors Community - Microsoft Teams VLS Configuration - How to Set Up MS Teams in MS Azure Po...

  4. SuccessFactors Community - MicroSoft Teams VLS Integration


 

This blog will cover configurations in below order:

  1. Configuration in Microsoft Azure

  2. Configuration in SuccessFactors LMS [TBC]

  3. Walkthrough - Instructor Record VLS Settings [TBC]

  4. Walkthrough - Scheduling a VLS class [TBC]

  5. Walkthrough - Instructor starts the class [TBC]

  6. Walkthrough - Student starts the class [TBC]

  7. Walkthrough - Process VLS Attendance APM (Not working and pending to be solved) [TBC]


 




Step 1: Configuration in Microsoft Azure

You may refer to Microsoft Document links in SAP KBA - 3113230 - Microsoft Teams - VLS Implementation Supplementary Links:

  1. Register your Microsoft Teams app

  2. Configure the Microsoft Teams app to expose a web API [no use in my test case]

  3. Configure a client application to access a web API [only application permission is used in my test case]

  4. Allow applications to access online meetings on behalf of a user

  5. Grant per-user application access policy [instead of granting per-user, I have granted the application access policy to global aka all users in the Azure tenant]

  6. Microsoft Graph permissions reference - Microsoft Graph | Microsoft Docs


 

1 Register your Microsoft Teams app


Mark down the Application (client) ID and Directory (tenant) ID of your Microsoft Teams app created in the app.





 

3 Configure a client application to access a web API [only application permission is used in my test case]

This step is to grant your newly created Microsoft Teams app to access MS Graph API. Several APIs are used in this integration scope in order to:

  • Verify the instructor can access Microsoft Teams

  • Manage online meetings eg. create meetings for each class's time slots, register students


Details please check SAP Help Portal - Implementing Virtual Learning System (VLS).






 

4 Allow applications to access online meetings on behalf of a user

This step will create an application access policy which defines the application access policy with mapping the newly created Microsoft Teams app.

This application access policy will further be granted to authorized users so that they can use the Microsoft Teams app to call various MS Graph API.

*This step requires MS PowerShell tool, which is generally found in MS Windows OS (Windows 11 is used in this case). Please make sure you have install Microsoft Teams PowerShell module before. (Ref: Install Microsoft Teams PowerShell Module)


Authenticate MicrosoftTeams:
Import-Module MicrosoftTeams
$userCredential = Get-Credential
Connect-MicrosoftTeams -Credential $userCredential

Create application access policy:
New-CsApplicationAccessPolicy -Identity Teams2SF_2-policy -AppIds “xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx” -Description “Teams2SF_2 Access Policy”

the argument after '-Identity' defines the policy ID (freely by you)

the argument after '-AppIds' refers the app ID of newly created MS Teams app in step 1.

the argument after '-Description' defines the policy description (freely by you)

 

*Use cmdlet 'Get-CsApplicationAccessPolicy' to check all existing application access policy for verification

 

5 Grant per-user application access policy [instead of granting per-user, I have granted the application access policy to global aka all users in the Azure tenant]

You can grant the application access per user so that this user is authorized to call the MS Teams app and then MS Graph API. This user should be referred as Instructors in my guess (as I encountered the application access policy 403 during creating a VLS class when the instructor is not granted.


Grant the application access policy to all users in Azure tenant by '-Global':
Grant-CsApplicationAccessPolicy -PolicyName Teams2SF_2-policy -Global

 

Step 1 Configuration in Microsoft Azure is done, and stay tuned for remaining steps since this is Lunar New Year holiday in my country~
45 Comments
Labels in this area