admin管理员组文章数量:1392007
We have set a compliance policy in MS Entra to require that only devices that are registered and compliant with our email tenant can access our WebView2 email application. Prior to creating and sending new email messages, the user must login to their account. We have verified that the policy works properly when logging in with Outlook, but not with the WebView2 app. Below is the policy that was created. The target resource is 'Office 365'.
Here is the compliant device listed in Entra:
This is the result when the user logs in to their account from within the WebView2 app:
I assume the answer lies in either our WebView2 browser setup, or with our interface to GraphAPI. Here are some of the changes we've made to the Graph application builder.
Using UseEmbeddedWebView for the auth process with both true and false has had no effect:
I've also tried creating some additional browser arguments in the WebView2 code.
There isn't much documentation online to solve this. I've seen where MS has posted code that enables the WebView2 browser to use the auth for the user that logged into Windows. This won't work for us as we allow the user to login with multiple email accounts when sending email.
Any help resolving this would be greatly appreciated. We have users that are stuck until we get a solution for this.
Thanks!
本文标签: outlookConditional Access Policy Blocking Compliant Device in WebView2Stack Overflow
版权声明:本文标题:outlook - Conditional Access Policy Blocking Compliant Device in WebView2 - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744769529a2624253.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论