AzureSMR icon indicating copy to clipboard operation
AzureSMR copied to clipboard

Issue authenticating with tutorial

Open iainmwallace opened this issue 8 years ago • 5 comments

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

iainmwallace avatar Nov 07 '17 21:11 iainmwallace

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

ghost avatar May 24 '18 20:05 ghost

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

AdamFrieberg avatar Jul 25 '18 15:07 AdamFrieberg

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.

MarkPados avatar Oct 04 '18 08:10 MarkPados

anyone solve this? same problem here..

0xjeremyfrank avatar Nov 29 '18 22:11 0xjeremyfrank

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.

filipwastberg avatar Feb 21 '19 15:02 filipwastberg