Guest Tony MCP Posted November 21, 2019 Posted November 21, 2019 Office 365, the Windows private store, and other apps want a "work or school" account connected to Windows. So, I need to connect the user's organizational account to their desktop account. Simple through the GUI: Settings --> Accounts --> Access work or school --> click the Connect button. The user enters their email address and clicks Next. A few seconds later, "You're all set!" message appears, and the account is added to the list. I want to automate this! Automating this should be trivial. I really though it would as easy as: Connect-OrgAccount -User "$Env:USERNAME@<mydomain>.com" I've been searching for weeks and haven't found a way to do this. Notes: All our computers are on-premises AD joined. Most PCs are Windows 10 v1607 Enterprise (some are still v1511 Ent) We have AD Federated Services installed and syncing the user accounts so that O365 licenses can be assigned. We do not use any other Azure services (ADFS was installed only for O365 licensing). The user is not prompted for a password (probably because of ADFS) The user can type anything before the @ for the email address, and as long as the domain is correct, the user's correct account will be connected (probably because of ADFS) Help, please :) -Tony More... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.