You can check the visa status online in Abu Dhabi, Sharjah, Ajman, Umm Al Quwain, Ras Al Khaimah, and Fujairah by visiting the federal authority for identity and citizenship website:
In case of enquiry through passport, you need to fill in the following fields:
Choose whether to check for an entry permit or a residence permit.
Enter the passport number or document.
Expiration date of the travel document, then nationality.
As for the residence visa in Dubai, you can check visa status online (electronically) through:
Download the application of the General Directorate of residency and Foreigners Affairs website; through it you can inquire about everything related to the visa as well as many other services.
Amer website – General Directorate of residency and Foreigners Affairs in Dubai: amer.gdrfad.gov.ae