V
V
vitkuz5732021-08-22 14:13:42
PowerShell
vitkuz573, 2021-08-22 14:13:42

How do I automate the activation (login) of Office 365?

There is a task to check whether the account has been logged in to the application, for example, Word 365 on about 80 PCs, and if it has not been logged in, execute it (it is possible not to check whether the logged in).

The question is, how can all this be done (PowerShell? well, or somehow differently)?

I know about the MSOnline module, but as I understand it, this cannot be done by means (do not kick hard if you are wrong), and binding a license to a user is not exactly what you need (again, I understand that).

Kick in the right direction, for example, a script that can be scattered on all PCs and put into the scheduler.

If anything, I apologize for the possibly incomprehensible wording :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton, 2021-09-01
@vitkuz573

Good afternoon.
If it's right, "on the forehead", then most likely nothing. Of course, you can try to automate user actions, a la "AutoIt!", But this is somehow painfully crooked.
The whole question is different, PC in the domain? Is W10 on PC?
If the answer is "yes" to both questions, then you can use regular methods to ensure that users are automatically authorized in the application without entering a login / password. This requires:
1) when installing O365 on a PC, add a parameter to the xml with the config
2) add, in the local AD, to UPN users, the suffix of your external, routable domain (contoso.com) and select it by default (for authorization in local applications and OS has no effect).
Well, plus a number of little things. But in which direction to dig I showed.
And you can collect analytics (on which PC the user is logged in and on which not) in 2 ways.
1) upload a report from the cloud on which PCs and which of the users activated O365. And then compare this list with the list of PCs (taking it, for example, from AD).
2) using a script, check the parameter in the registry, in which, if activated, there is an account login o365 ([email protected]). Parameter: O365ProPlusRetail.EmailAddress located here HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\Configuration

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question