Azure-Samples / azure-digital-twins-getting-started

Resources for getting started with Azure Digital Twins
MIT License
28 stars 23 forks source link

ADX queries and ADT on a Visual Studio MSDN subscription with outlook account #10

Open rploeg opened 3 years ago

rploeg commented 3 years ago

Hi,

From my MVP membership I have an Visual Studio MSDN subscription with Azure credits. Now I have followed the manual (and my ADT is already running with other apps, ADT explorer is also working with this account, so security wise everything is ok) but when I try to run on sample ADX database the queries in this example receive the following error:

Request is invalid and cannot be processed: AADSTS50020: User account '{EmailHidden}' from identity provider 'live.com' does not exist in tenant 'Microsoft Services' and cannot access the application 'XXXXXXXXXXXX'(Azure Data Explorer) in that tenant. The account needs to be added as an external user in the tenant first. Sign out and sign in again with a different Azure Active Directory user account. Trace ID: f9f56b8a-e645-4eed-8c84-e1c2e469ae00 Correlation ID: b1a5f978-d480-40a3-87e6-ad725c4baef6 Timestamp: 2021-06-24 07:40:42Z

I was following this manual: https://github.com/Azure-Samples/azure-digital-twins-getting-started/blob/main/adt-adx-queries/sample-queries.kusto

thanks,

Remco

danhellem commented 3 years ago

@baanders do you know who might be able to help @rploeg on this?

baanders commented 3 years ago

@jjadta Hey Taylor, could you help us with this issue on ADX queries across tenants?

taylor-anderson821 commented 3 years ago

Sure thing. Will investigate.

On Wed, Jul 28, 2021 at 1:14 PM Bailey Anderson @.***> wrote:

@jjadta https://github.com/jjadta Hey Taylor, could you help us with this issue on ADX queries across tenants?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Azure-Samples/azure-digital-twins-getting-started/issues/10#issuecomment-888479554, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGTTG725J3IWHMEJ4DMTFBTT2A3JBANCNFSM47HKLEQA .

-- Sent from Gmail Mobile

taylor-anderson821 commented 3 years ago

@rploeg, are you able to connect to the ADX Help cluster:

https://dataexplorer.azure.com/clusters/help/databases/Samples

If not, try logging out and logging back in.

rploeg commented 3 years ago

@jjadta sorry for the delay I was on holiday. Yes, I am succesfull connected to the cluster:

image