tayaxs.blogg.se

Check microsoft office login
Check microsoft office login








check microsoft office login

To get the last logon date for every AAD user in the list, run this command: You can add any other fields if necessary.

check microsoft office login

The CSV file contains information about all user activities: what devices and locations they logged on from, what Microsoft apps they used. $alluserhistory| Export-Csv "C:\PS\azure_signin_logs.csv" –NoTypeInformation To export the result to a CSV file, run the command below: $result = -Method Get).value | Select-Object userDisplayName, userPrincipalName, appDisplayName, ipAddress, clientAppUsed, deviceDetail, =$resitem.appDisplayName Microsoft Teams, the hub for team collaboration in Microsoft 365, integrates the people, content, and tools your team needs to be more engaged and effective.

check microsoft office login

With Word, Excel, and PowerPoint all in one app. $SetDate = Get-Date($SetDate) -format yyyy-MM-dd Microsoft 365 is the ultimate everyday productivity app that helps you create, edit, and share on the go. In this example, I want to get an Azure user activity report for the last 90 days: For example, I want to see the information about a user, operating system, Azure/Microsoft 365 app used for connection and location in the report (these are the following columns: userDisplayName, userPrincipalName, appDisplayName, location, ipAddress, clientAppUsed, deviceDetail, createdDateTime). On the leftmost side, select a Microsoft app to open it (for example, to access your inbox, select Outlook). You can use paging to paginate the results and process multiple objects in a loop using can use the Azure Graph Explorer ( ) to select the names of columns (object attributes) you want to see in the user login history report. If your web browser auto-fills your username and password, make sure its using your Microsoft 365 email address and password, not your GoDaddy account credentials. Note that the Microsoft Graph API can return up to 1,000 objects at a time. Make sure that you can get data about user authentication events in Azure: $ConnectGraph = Invoke-RestMethod -Uri "$TenatDomainName/oauth2/v2.0/token" -Method POST -Body $BodyĪfter receiving a token, you can connect to the REST API to get information about user sign-in -Method Get).value You may also access this directly, from anywhere: http://www. Grant the following API permissions to your Azure application that you are using to connect through the Microsoft Graph API: and . Microsoft Office through Microsoft Office 365.










Check microsoft office login