Hi there,
As it is logging through edge this must be a policy set by your admin. This error occurs due to Intune issues with your work environment. Check for any event logs and try to share them with your admin so that they can be resolved quickly.
You can also confirm whether the Windows device is enrolled in Intune or not.
-Click on the Start button and type Settings to open the settings page.
-Click on the Accounts option from the setting page.
-Click on the Access Work or School button.
-Check whether you can see any connection box there.
-Click on the connection Box and check whether the INFO button is there or not.
-If the Info tab is missing from the connection box, this device is not enrolled in Intune yet.
----------------------------------------------------------------------------------------------------------------------------------
--If the reply is helpful, please Upvote and Accept it as an answer–