DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 2433327 - Last Review: September 29, 2014 - Revision: 31.0

SUMMARY

This article discusses how to enable and disable a trace for the Microsoft Online Services Sign-in Assistant. The log files that are generated can help troubleshoot issues that may occur when you use the Sign-in Assistant in a Microsoft Office 365 environment.

MORE INFORMATION

Important Follow the steps in this section carefully. Serious problems might occur if you modify the registry incorrectly. Before you modify it, back up the registry for restoration   (http://support.microsoft.com/kb/322756/ ) in case problems occur.

Enable debug tracing for the Microsoft Online Services Sign-in Assistant

To enable debug tracing for the Microsoft Online Services Sign-in Assistant, follow these steps: 
  1. Start Notepad, copy and paste the following text to a new file, and then save the file as Enable_SIA_Debug_Tracing.reg:
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSOIdentityCRL\Trace]
    "Folder"="C:\\MSOTrace"
    "Flags"=dword:00000001
    "level"=dword:00000099
    "maxsize"=dword:10485760
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\MSOIdentityCRL\Trace]
    "Folder"="C:\\MSOTrace"
    "Flags"=dword:00000001
    "level"=dword:00000099
    "maxsize"=dword:10485760
    
    [HKEY_CURRENT_USER\Software\Microsoft\MSOIdentityCRL\Trace]
    "Folder"="C:\\MSOTraceLite"
    "Flags"=dword:00000001
    "level"=dword:00000099
    "maxsize"=dword:10485760
  2. Run the Enable_SIA_Debug_Tracing.reg file on the computer that's experiencing the issue to update the registry.
  3. Restart the Microsoft Online Services Sign-in Assistant service. To do this, do one of the following: 
    • Click Start, type services.msc in the search box, and then press Enter. Right-click the Microsoft Online Services Sign-in Assistant service, and then click Restart.
    • Open an administrative command prompt, and then run the following commands (press Enter after each command): 
      net stop msoidsvcnet start msoidsvc
  4. Reproduce the suspected authentication issue on the computer on which tracing is enabled.
  5. On drive C, locate the MSOTrace and MSOTraceLite folders. These folders contain the trace files. The names of the trace files are in the following format:
    msoidsvctrace{GUID}.txt
    NoteWhen the Microsoft Online Services Sign-in Assistant service is running, you can't rename or delete the debug trace because the file is being used by a process. However, you can create a copy of the debug trace that you can then move to another folder or another computer for review.
  6. Examine the debug trace files for any relevant exception messages.

Disable debug tracing for the Microsoft Online Services Sign-in Assistant

To disable debug tracing for the Microsoft Online Services Sign-in Assistant, follow these steps: 
  1. Open Notepad, copy and paste the following text to a new file, and then save the file as Disable_SIA_Debug_Tracing.reg: 
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSOIdentityCRL\Trace]
    "Folder"="C:\\MSOTrace"
    "Flags"=dword:00000000
    "level"=dword:00000000
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\MSOIdentityCRL\Trace]
    "Folder"="C:\\MSOTrace"
    "Flags"=dword:00000000
    "level"=dword:00000000
    
    [HKEY_CURRENT_USER\Software\Microsoft\MSOIdentityCRL\Trace]
    "Folder"="C:\\MSOTraceLite"
    "Flags"=dword:00000000
    "level"=dword:00000000
  2. Run the Disable_SIA_Debug_Tracing.reg file on the computer that's experiencing the issue to update the registry.
  3. Restart the Microsoft Online Services Sign-In Assistant service. To do this, do one of the following:
    • Click Start, type services.msc in the search box, and then press Enter. Right-click the Microsoft Online Services Sign-In Assistant service, and then click Restart.
    • Open an administrative command prompt, and then run the following commands (press Enter after each command): 
      net stop msoidsvcnet start msoidsvc

Analyze logs

Log file locations depend on the specifics of the Folder registry entry that's listed earlier. In this example, the log is located in the C:\MSOTrace or C:\MSOTraceLite folder, depending on the application that performs authentication.

Still need help? Go to the Office 365 Community (http://community.office365.com/) website or the Azure Active Directory Forums (http://social.technet.microsoft.com/Forums/windowsazure/en-US/home?forum=windowsazureaditpro) website.

Applies to
  • Microsoft Azure Active Directory
  • Microsoft Office 365
  • Windows Intune
  • CRM Online via Office 365 E Plans
  • Microsoft Azure Recovery Services
  • Office 365 User and Domain Management
Keywords: 
o365 o365a o365e o365p kbgraphxlink o365022013 o365m kbgraphic KB2433327
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support