def METHOD_NAME(
    mock_user_fs, azure_ad_organization  # noqa: F811 # intentional for mocks
) -> UserTemplate:
    test_template_path, temp_templates_directory = mock_user_fs
    user_suffix = randint(0, 100000)
    username = f"user{user_suffix}@example.com"
    user_properties = UserTemplateProperties(
        username=username,
        mail_nickname=f"user{user_suffix}",
        display_name=f"user{user_suffix}",
    )
    template = UserTemplate(
        idp_name=azure_ad_organization.idp_name,
        file_path=test_template_path,
        properties=user_properties,
    )
    template.write()
    return template