MicrosoftEdge / MicrosoftEdge/WebView2Feedback
[BUG] Password save dialog closes without saving when in DetectedEntity contextual add-in mode
@prija-microsoft is already working on this.
Since Jun 24, 2026.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
What happened?
Description
When the add-in is operating in <ExtensionPoint xsi:type="DetectedEntity"> mode, the browser's native "Save Password" popup dialog appears as expected. However, clicking the Save button causes the dialog to immediately close without saving the credentials. This behavior is consistent and reproducible — the password is never saved.
Steps to Reproduce
- Load the add-in using an
ExtensionPointof typeDetectedEntity. - Trigger the contextual add-in activation (e.g., by matching a regex rule in the message body).
- Wait for or trigger the browser's native "Save Password" popup to appear.
- Click the Save button in the popup.
Expected Behavior
Clicking Save should persist the credentials and dismiss the dialog normally.
Actual Behavior
The dialog closes immediately upon clicking Save and the password is not saved. This happens consistently every time.
Environment
- Extension point type:
DetectedEntity - Manifest type: Add-in only manifest (XML)
- Outlook client: (please specify, e.g., Outlook on the web, classic Outlook on Windows)
- Browser/WebView: (please specify)
Additional Context
The issue appears to be related to the focus or lifecycle management of the contextual pane in DetectedEntity mode, which may be intercepting or suppressing the save action of the native credential dialog.
Screenshot attached showing the password save popup appearing over the add-in UI.
Screenshot
Importance
Important. My app's user experience is significantly compromised.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
148.0.3967.83
SDK Version
No response
Framework
Other
Operating System
Windows 11
OS Version
26200.8524
Repro steps
Steps to Reproduce
- Load the add-in using an
ExtensionPointof typeDetectedEntity. - Trigger the contextual add-in activation (e.g., by matching a regex rule in the message body).
- Wait for or trigger the browser's native "Save Password" popup to appear.
- Click the Save button in the popup.
Repros in Edge Browser
No, issue does not reproduce in the corresponding Edge version
Regression
No, this never worked
Last working version (if regression)
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.