Skip to main content

RESULT_CODE_INVALID_CMDLINE_URL: Invalid launch URL

WebView2 rejected a URL supplied when a process started. The code does not mean the Teams service was unreachable. Microsoft lists 5 for RESULT_CODE_INVALID_CMDLINE_URL.

What to check​

  1. Check whether Teams works when launched from Start instead of the shortcut or link that failed.
  2. Ask the owner of the shortcut or launch script to check the URL and how it is passed to the process.

Official reference​

Microsoft Learn: WebView2 failure, General process exit codes