Cannot access WordPress Multisite Main Dashboard

You can gain super admin access to the site by adding this function in the functions.php file

if ( !function_exists( 'grant_super_admin' ) ) { 
    require_once ABSPATH . WPINC . '/capabilities.php'; 
} 
  
// ID of the user to be granted Super Admin privileges. 
$user_id = 1; 
  
$result = grant_super_admin($user_id); 

You can remove the code once you have access, although I’m not sure why the user was changed to Administrator