fix for tenant when token supplied

This commit is contained in:
Hong Ooi 2019-09-13 13:11:14 +10:00
Родитель dfc47feb1a
Коммит 0b20f12e19
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -95,6 +95,7 @@ create_graph_login <- function(tenant="common", app=.az_cli_app_id,
message("Creating Microsoft Graph login for ", format_tenant(tenant))
token <- do.call(get_azure_token, token_args)
}
else tenant <- token$tenant
client <- ms_graph$new(token=token)