How are you controlling access to M365 on unmanaged devices?
Asked by
+sleeve cap!
I've been trying to manage access to M365 from unmanaged devices, especially focusing on allowing browser-only access while blocking downloads for platforms like SharePoint, OneDrive, and Office web apps. Setting this up was straightforward using SharePoint's unmanaged device controls combined with conditional access. However, I ran into issues with Power BI. Once I enforced web-only access without downloads on SharePoint, scheduled refreshes that rely on SharePoint data started failing, showing 'invalid credentials' even though authentication was successful. I'm looking to avoid creating exceptions for users or service accounts or redesigning my data sources to circumvent this issue. So, how is everyone handling this situation? Do you accept the limitations, move data sources off SharePoint, or live with the necessary exceptions? This seems like a common challenge, but the exact controls don't seem to fit together seamlessly. Your insights would be much appreciated!
Answers
What I've done is run Power Automate flows through a service account that's exempt from the conditional access rules. If security is a concern, you can also restrict it to trusted IP addresses. Just keep in mind that using service accounts might require extra licenses, but a cheaper F3 license could be a reasonable investment for securing operations.
Reply to this answer
Creating a standard operating procedure for service accounts and exceptions might be a good way to handle this. It sets clear rules and can help streamline the process whenever issues arise. Sometimes itโs just about having that documented guidance in place.
Reply to this answer
I think service accounts should be kept separate from these issues and equipped with additional protections and monitoring. It might be worth looking into using app registrations in Entra with keys where possible to prevent any vulnerabilities.
Reply to this answer
Add your answer
Answers are reviewed before publication.
!8 pulses detected: I attempted to set trusted IP exclusions, but found the authentication tied to the initial setup IP. Weโre currently using split tunneling for M365 to minimize VPN throttling. Itโs definitely a juggling act!