Two-factor Auth Barcode Image not loading

Defender’s Two-factor Auth Barcode Image not loading when enabling “Two-factor Authentication” setting.