@Tom @diegotco Apologies for delay on this one.
If the user is a guest user, or in certain scenarios we redacted the PII information from IP address, Device ID or display name.
That is why you see that IP address being sanitized.
In case of user ID, if there was a sign in interruption and we did not get to the stage to translating the Object guid to UserPrincipalName , we just reflect the Object ID.
Also if there are MFA scenarios where few times it might take up to 10 minutes for the logs to show the actual UPN, earlier log might show guid, but once we resolve it to UPN, the newer logs will show the UPN as well.
-----------------------------------------------------------------------------------------------------------------
Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.