How do I stop on-premise domain users from joining azure on workstations?

PJ Tharpe 20 Reputation points
2023-02-27T15:53:17.8633333+00:00

I work for an MSP and we have several clients that are having issues when they are joined to Azure domain. The problems vary from Outlook profile issues, to Teams sign-in issues.

These are on-premise AD users. When signing into Microsoft Office products they get the prompt "Use this account everywhere on your device" and "Allow my organization to manage my device". If they click YES, that's how I'm assuming the PCs are getting azure joined. So in this situation I always click 'This app only' and it does not cause any issues.

My question here.. Is there a way to prevent users from becoming azure joined? Like via policy or a setting?

Any advice here would be awesome. Thanks so much!

Microsoft 365 and Office | Install, redeem, activate | For business | Windows
Microsoft Security | Microsoft Entra | Microsoft Entra ID
Windows for business | Windows Client for IT Pros | User experience | Other
Microsoft Security | Microsoft Entra | Other
0 comments No comments
{count} votes

Accepted answer
  1. Harpreet Singh Matharoo 8,396 Reputation points Microsoft Employee Moderator
    2023-02-27T16:21:41.82+00:00

    Hello @PJ Tharpe

    Thank you for reaching out. You can use following registry key to block Workplace join that happens with Outlook prompt "Use this account everywhere on your device" and "Allow my organization to manage my device". Basically, if end user click on "allow" the machine perform Azure Active Directory (AAD) Workplace Join.

    Registry Key that can be used to block this prompt and preventing workplace join: HKLM\SOFTWARE\Policies\Microsoft\Windows\WorkplaceJoin "REG_DWORD BlockAADWorkplaceJoin=1"

    I hope this answer helps to resolve your issue.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


0 additional answers

Sort by: Most 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.