# NOT RUN {
rg <- AzureRMR::az_rm$
new(tenant="myaadtenant.onmicrosoft.com", app="app_id", password="password")$
get_subscription("subscription_id")$
get_resource_group("rgname")
# create a new recommender service
rg$create_rec_service("myrec", hosting_plan="S2")
# }
Run the code above in your browser using DataLab