Skip to main content

RESULT_CODE_PROFILE_IN_USE: Profile already in use

An active process already has the profile, so WebView2 cannot open another instance with it. Microsoft lists 21 for RESULT_CODE_PROFILE_IN_USE.

What to check​

  1. Save your work and exit Teams normally, then check whether another session is using the same profile.
  2. If the conflict recurs, ask your administrator to check whether a managed setup shares the profile across sessions.

Official reference​

Microsoft Learn: WebView2 failure, General process exit codes