Restrict users` local account logging in to work M365

ラナ 40 Reputation points
2024-05-10T08:07:25.6733333+00:00

scenario:

When using a personal PC for work. work or school account is set up as a domain join.

user has a personal local account in the PC.

Environment:

Microsoft 365 Business Premium, Microsoft EntraID P1 and Intune

Question:

How to restrict personal local account from accessing work M365? is it possible to do so?

Microsoft 365 and Office | Install, redeem, activate | For business | Windows
Microsoft Security | Microsoft Entra | Microsoft Entra ID
Microsoft Security | Intune | Other
0 comments No comments
{count} votes

Accepted answer
  1. ZhoumingDuan-MSFT 17,165 Reputation points Microsoft External Staff
    2024-05-13T07:00:18.9766667+00:00

    @ラナ,Thanks for posting in Q&A.

    From your description, I know you want to restrict local user account accessing work Microsoft 365.

    Based on my researching, we can create a conditional access policy to achieve your goal.

    1.Create a Conditional Access policy > In Target resources select Cloud apps > Select Office 365.

    2.In Grant Session, select Grant access for the work account you allowed, then only work account can access Microsoft 365 resources and personal account cannot access Microsoft 365 resources.

    https://learn.microsoft.com/en-us/entra/identity/conditional-access/concept-conditional-access-cloud-apps#office-365

    Or you can use GPO to restrict personal account access Microsoft resources.

    https://www.iamsysadmin.eu/featured-posts/restrict-signing-into-365-apps-with-a-personal-microsoft-account/

    Non-official, just for reference.

    Hope it will help.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


1 additional answer

Sort by: Most helpful
  1. Pavel yannara Mirochnitchenko 13,336 Reputation points MVP
    2024-05-10T12:10:43.8166667+00:00

    Use Conditional Access and in Grant-phase, require device to be compliant. Same time, create Compliant Policies in Intune and assign in only to Corporate device or only to specific device name pattern.

    Edit: okay, I have read again and you only want to limit this for local account, but I assume, you want allow the access for home device itself, right? Maybe if you assign Compliance Policy to users only? But I am not sure, it still might flow down to device.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.