Thanks for posting your question in the Microsoft Q&A forum.
Azure AD Sync may stop working even if the service looks active, usually because the sync account is disabled or expired, the agent is in quarantine from repeated failures, or there are configuration, permission, or network issues.
To fix it, check the sync account status and permissions, review logs and errors in Synchronization Service Manager, clear any agent quarantine in the Azure portal, confirm connectivity and DNS settings, and if needed, reset or restart the sync cycle manually.
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful