def METHOD_NAME():
    if os.getenv('AZURE_SUBSCRIPTION_ID') is None:
        telemetry.set_exception(exception='Required environment variables and parameters are not set', fault_type=consts.Custom_Token_Environments_Fault_Type,
                                summary='Required environment variables and parameters are not set')
        raise ValidationError("Environment variable 'AZURE_SUBSCRIPTION_ID' should be set when custom access token is enabled.")