Closed vkamra closed 2 years ago
Fix in PR:
user.GetUserPrincipalName()
here which is not optional for a AD userGetUserPrincipalName()
as it should be the practice.
Additionally, the User query 2 was added to the list of GraphQuery functions that are tested.
Description: GC call
setTenantUsers
hit a panic in the integration tests. This started to fail when a new AD user was created with no email address set.Issue:
graph_connector.go
is dereferencinguser.GetMail()
without checking if it's set.Proposed Fix and followup:
user.GetUserPrincipalName()
here which is not optional for a AD user[1] Panic call stack: