Jump to content

Microsoft Community Training (MCT) Troubleshoot Guide


Recommended Posts

Posted

Microsoft Community Training (MCT) Troubleshoot Guide for Azure Support

 

 

 

 

Microsoft Community Training (MCT) is an Azure-based service that enables the efficient and effective delivery of large-scale, widely distributed training programs.

 

The Azure Global Emerging Markets IDC team at Microsoft manages the MCT platform.

 

The ICM credentials to log a ticket on the MCT team are –

 

Owning Service: AGEM: Microsoft Community Training

 

Owning Team: MCT

 

This document walks through root cause and resolution steps for some of the major issues faced by the customers. Please try the resolution steps before logging an ICM ticket to MCT team.

 

 

Description of MCT Architecture

 

 

Microsoft Community Training (MCT) platform is available as a Managed Application on the Azure Marketplace for customers. The following Azure services are used by the MCT instance, which is installed on the customer's Azure subscriptions:

 

  1. Azure Key Vault

  1. Azure App Service

  1. Azure Blob Storage

  1. Azure SQL Database

  1. Azure Media Service

  1. Content Delivery Network

  1. Azure Application Insights

  1. Azure Front Door

 

450x199vv2.png.3b120ac207dae0e5ebf6cd452d8b51d7.png

 

Problems/Issues, Root Cause and Resolutions

 

 

Issue 1:

 

Training website is not loading

 

Root Cause 1: The app service has either stopped or has crashed due to an error or an exception (such as an out of memory exception), etc.

 

Resolution: Go to the app service resource in managed resource group of the deployment and try restarting the app. If this does not fix the issue, navigate to diagnose and solve problems >> Diagnostic Tools >> Application Event Logs and check the latest entry with Level Error or Warn. If the error is related to failure in accessing certain resources, try restarting that resource. Contact the MCT support team if this does not work.

 

Root Cause 2:

 

App service unresponsive because of high resource usage on app service.

 

Resolution: Navigate to App service plan resource on azure portal and check for CPU utilization. If CPU is the bottleneck (greater than 85-90 %) scale up the instance (Note: please don't scale out as there are certain limitations with scale out on MCT side).

 

Root Cause 3:

 

App service unresponsive because of high resource usage on database.

 

Resolution: Navigate to Azure SQL database resource and check for CPU utilization metrics under metrics section. If CPU utilization is greater than 90% try scaling up the database.

 

 

 

Issue 2:

 

Users are not able to Sign In

 

Root Cause 1: "Invalid redirect URI" error for Azure AD/Azure AD B2C deployments or "Invalid client parameters" for phone auth deployment after clicking Sign-in button.

 

Resolution: Re-validate the redirect URLs configured at the time of identity configuration. For custom domains, custom redirect URLs need to be added to the identity setup.

 

 

 

Root Cause 2: "/Error" page is visible after the user clicks on Sign-in button and completes the username-password flow

 

Resolution: Ensure that the Client-secret present in the Key Vault matches with the Client-secret value obtained while configuring the identity. Also ensure that the Key-Vault reference is correctly configured in the Azure App Service configuration. These are the values to check in Azure App Service configuration for corresponding identities: idp:AzureADExternalAuthClientSecret (Azure AD), idp:AzureADB2CExternalAuthClientSecret (Azure AD B2C), idp:PhoneExternalAuthClientSecret (Phone)

 

In case of client secret is expired or nearing expiration, here are steps to generate a new client secret and link it to key-vault

 

 

 

Issue 3:

 

Learner not able to update profile fields on login

 

Root Cause: Unable to update profile fields on login

 

Resolution: Refresh the page if not fixed then purge AFD Cache

 

 

 

Issue 4:

 

Lesson (Video) is not playing

 

Error: Unable to decrypt the encrypted video source

 

Root Cause 1: The token issued has expired. This error can happen if a certain user has the course player page open for more than 4 hours.

 

Resolution: Refresh the course player page and/or clear browser cache

 

Root Cause 2: The token signing certificate has expired. All users will be affected for that media lesson. Can be confirmed from the "api/v1/health" endpoints.

 

Resolution: Raise IcM

 

 

 

Issue 5:

 

PDF lesson content is not loading

 

Root Cause: Errors relating to content not loading are typically caused by the CORS configuration.

 

Resolution: If customer is using custom domain or even for the AzureFD or AzureWebsites URL, need to check if CORS is correctly configured or not in customer's storage account. Make sure URL have permission for get, post and PUT. Navigate to Storage account of customer's instance and check for 'Resource Sharing (CORS)' and follow below steps:

 

  • In allowed origin, add the current domain (one entry with www. Prefix and another without this prefix)
  • In allowed Methods, add GET, PUT, PATCH, OPTION, DELETE, POST.
  • Save this by clicking on the “save” button above.

 

Issue 6:

 

Unable to add lessons to courses

 

Root Cause 1: Lessons are not added immediately to the learning path

 

Resolution: There may be a little delay before lessons are added to the learning path because they are added and removed/deleted in an async manner. Checking after some time and the lessons would be added.

 

Root Cause 2: Delay on the upload process to create new course contents, stuck on the "processing" screen.

 

Resolution: If customer is using custom domain or even for the AzureFD or AzureWebsites URL, need to check if CORS is correctly configured or not in customer's storage account. Make sure URL have permission for get, post and PUT.

 

 

 

Issue 7:

 

Lesson not getting marked completed

 

Root Cause 1: There is a completion criterion for certain lesson types, like video and audio lessons, that must be watched at least 80% without skipping.

 

Resolution: Ensure that the lesson is not a media lesson, or its completion criteria is met

 

Root Cause 2: Check Status API response code and message in the browser's network tab. Also check the console window for any errors.

 

Resolution: Raise IcM with relevant details

 

 

 

Issue 8:

 

Unable to add new profile fields

 

Root Cause: Profile Field addition requires the doer of the action to be authorized to do so. He/ she should be of the authorized role type. Also, the profile field name added cannot be empty, cannot contain certain special characters and cannot be same as an existing profile field name.

 

Resolution: Check the error code returned in the API response to ensure that the performer of the action is authorized. Ensure that the profile field name being added is not blank. does not contain special characters and is not the same as an existing profile field name.

 

 

 

Issue 9:

 

Certificate not generated for learners

 

Root Cause 1: Certificate template PDF file uploaded is corrupted. Most PDF Viewer Software has the ability to fix any corruptions in the PDF when rendering for viewing. However, the MCT service doesn't support this behavior and when trying to generate a certificate using such a corrupted PDF, the operation will fail.

 

Resolution: We strongly recommend creating the certificate template using the PowerPoint file we provide in the Certificate Templates section in the Administration portal. Exporting the slide as PDF best ensures consistency. On a side note, any template PDF can be tested for certificate generation before using it in courses for learners, by using the preview certificate feature.

 

Root Cause 2: The Certificate Template PDF file is deleted from the Blob Storage.

 

Resolution: Click on the required template in the Certificate Templates section (only accessible to Global Administrators). Click on replace and select the original template PDF file from the file system which was being previously used.

 

Root Cause 3: If the portal is using custom domain without Azure Front Door, the new domains are not added in the CORS settings of the Azure Storage Account.

 

Resolution: Adding the appropriate URLs to the CORS settings of the Storage Account. Important - if multiple URLs are configured (for e.g. - "https://www.contoso.com", "https://contoso.com"), both URLs need to be added in separate entries in the CORS settings.

 

 

 

Issue 10:

 

Frontend errors (ex. Localization, course not loading)

 

 

Root Cause 1: Can be because of CORS, or some code bug or some data related issue.

 

Resolution:

 

  1. Open the browser Console (Right click on the webpage & Select "Inspect" to open the Console).
  2. Take a screenshot of this and raise a ticket.

 

Having issues in MCT can cause delay in learning. Logical and systematic search for the source of a problem in order to solve issues and make MCT operational again. This would save time between submitting a support ticket and waiting for response. The proper products for your business can be found with the assistance of Microsoft representatives, who can also answer questions about eligibility and technical support. For more details Contact us!

 

Continue reading...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...