microsoft / AzureSMR

AzureSMR is no longer being actively developed. For ongoing support of Azure in R, see: https://github.com/Azure/AzureR
Other
60 stars 43 forks source link

Issue authenticating with tutorial #106

Open iainmwallace opened 7 years ago

iainmwallace commented 7 years ago

Hi,

I had some difficulty following the tutorial to authenticate (here)

It wasn't clear what the different ids should look like. In particular, the tenant ID wasn't obvious as on my azure portal there is no "Endpoints" option. It also wasn't clear if the ids should be wrapped in "{}" or not.

Regardless of which approach I took of defining the ids, I had this error:

   azureAuthenticate(azEnv)
   Error: $ operator is invalid for atomic vectors 

I release that authentication is a very hard process to debug!

Any pointers/tips would be great,

Thanks,

Iain

ghost commented 6 years ago

This happens to me also, when I try to login using the DeviceCode authentication type.

AdamFrieberg commented 6 years ago

I ran into this issue earlier as well. The ClientID is still the ApplicationID listed in the tutorial mentioned above.

@iainmwallace the Ids do not need to be wrapped in "{}" The TenantId was the tricky one to find. There are good instructions on the Azure Resource Manager documentation. Look for the Directory ID of the Active Directory

MarkPados commented 6 years ago

Hi! I have the same "Error: $ operator is invalid for atomic vectors " problem when I try authenticate. @iainmwallace or others : did you able to solve this somehow? Please let me know.

jfrank-summit commented 5 years ago

anyone solve this? same problem here..

filipwastberg commented 5 years ago

This is happening because of the brackets in the documentation?

That is: createAzureContext(tenantID = "{TID}", clientID = "{CID}", authKey= "{KEY}")

Which causes confusion since you normally don't need brackets in authentications from R.