On emulators you have to prebuild (generate android or ios directories) and set a correct redirect url on azure (app_scheme://valid_app_path), valid_app_path should be an app page where you might have the id token or token code request to azure Entra Id.