if you move the authentication outside the app and ditch the embedded browser, this would then work.
The reason behind it: we use Conditional Access to only allow registered and enrolled devices to Intune to our corporate data - ConnectWise Control included. The embedded browser however is not able to detect the state of the device, so it stated that it is not enrolled (even though it is) and thus the authentication fails and claims that you are not allowed to access the requested resource.
For further questions, please ask Microsoft.
(same would apply for other apps of yours as well ...)
Customer support service by UserEcho