Has is_archived() for sites in a multisite changed with WP 4.7?

Can you try out the following code somewhere and post the output?

$mySites = wp_get_sites($args);
foreach ($mySites as $blog){
    print_r(get_blog_status($blog['blog_id'], 'archived'));
}

If this works, I suspect the code behind is_archived() used to understand blog-objects, but the function is supposed to recieve only the blog ID, not the whole object.

Your code should be the following:

$mySites = wp_get_sites($args);
foreach ($mySites as $blog){
    if (!is_archived($blog['blog_id'])){
        switch_to_blog( $blog['blog_id'] );
        printf( '%s<a href="https://wordpress.stackexchange.com/questions/249214/%s">%s</a></li>' . "\r\n", $TagLi, home_url(), get_option( 'blogname' ) );  

        restore_current_blog();
    }
}