@Lisa K Welcome to the Microsoft Q&A forum, Thanks for posting your question.
This is an AAD issue and requires to properly synchronizing AD with AAD using Azure AD Connect tool ( see Directory synchronization with Azure Active Directory - Microsoft Entra | Microsoft Learn)
Regards
Geetha