Comments (3)
from office365itpros.
Maybe it's just PowerShell being more precise about date checking. I have amended the script and it seems to be fine now. BTW, the Microsoft Graph PowerShell SDK is an easier way to get this kind of data - no app required.
from office365itpros.
Thanks for response, sorry for bug again, but still getting below in ISE/PS core7. If below error pertains to merely sensitivity related warnings, I'll be good as long as users login data output is still to be accurate, trustworthy when the errors shown. thanks much Tony. Also, I wonder if I can use this script directly in MS graph PowerShell SDK as is or require re-write.
Get-Date : Cannot bind parameter 'Date' to the target. Exception setting "Date": "Cannot convert null to type "System.DateTime"."
At C:\scripts\GetUserSignIn-New_Graph.PS1:89 char:35
-
Created = Get-Date($User.CreatedDateTime) -format g
-
~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : WriteError: (:) [Get-Date], ParameterBindingException
- FullyQualifiedErrorId : ParameterBindingFailed,Microsoft.PowerShell.Commands.GetDateCommand
from office365itpros.
Related Issues (20)
- ReportRoomMailboxUsage.PS1 has creds it HOT 1
- Getting (400) Bad Request Error Here HOT 3
- (401) Unauthorized - GetUserSignInDataGraph.PS1 HOT 1
- AssignedLicenses and -SignInActivity not working HOT 1
- You cannot call a method on a null-valued expression. HOT 8
- TeamsGroupsActivityReportV5.PS1 --> "getTeamsTeamActivityDetail" not work HOT 2
- Teams Activity Data returning only 200 items HOT 3
- Small bug with Fix HOT 3
- issue with line 38 on Analyze-MailtrafficUsers.PS1 HOT 1
- FindObsoleteGuestsByActivityV3 script with error HOT 1
- UpdateMailboxAuditing.PS1 should disable auditing before enabling it HOT 3
- ReportUnusedExoMailboxes.PS1 "System.DateTime". Error: "String was not recognized as a valid DateTime." HOT 5
- Get MFA for Windows Azure per-user Office 365 HOT 6
- ReportUserAssignedLicenses-MgGraph.PS1 - Fixed a bug which the column "Direct assigned licenses" is empty. HOT 2
- SharePointUsage does not give Site URLs - TeamsGroupsActivityReportV5.PS1 HOT 2
- TeamsGroupsActivityReportV5.12 SPOUsage 401 unauthorized HOT 6
- Adjustments needed HOT 1
- ReportFilesSPOSite.PS1 - Creating duplicate rows of data HOT 2
- Report-UserPasswordChanges.PS1 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from office365itpros.