Open YiChunLin105062518 opened 1 year ago
Hello YiChunLin105062518, thank you for opening an issue with us!
I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌
I've got the same error when running it using UAC. I think, the problem is the app trying to sent Toast notification to other account, not currently interactive one.
The solution of the same issue could be helpful: https://learn.microsoft.com/en-us/answers/questions/736896/(winrt)resolving-a-toastnotification-exception
This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established.
Describe the bug
In the standard user account, run app as admin, the app execution identity will be admin, resulting access is denied when prompt notification.
Regression
No response
Reproducible in sample app?
Steps to reproduce
Expected behavior
notification to be prompted under the standard user account.
Screenshots
No response
Windows Build Number
Other Windows Build number
Windows 11 (22H2)
App minimum and target SDK version
Other SDK version
No response
Visual Studio Version
No response
Visual Studio Build Number
Microsoft Visual Studio Professional 2022 (64 bit) - Current version 17.5.4
Device form factor
Desktop
Nuget packages
Microsoft.Toolkit.Uwp.Notifications 7.1.2, 7.1.3
Additional context
No response
Help us help you
No.