How to use AADIP connector

%3CLINGO-SUB%20id%3D%22lingo-sub-1762831%22%20slang%3D%22en-US%22%3EHow%20to%20use%20AADIP%20connector%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1762831%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI%20want%20to%20use%20in%20my%20Playbook%20connector%20to%20AAD%20Identity%20Protection%20for%20example%20to%20get%20the%20risk%20history%20of%20a%20risky%20user.%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EFirst%2C%20we%20need%20to%20sign%20in%20to%20create%20a%20connection%20to%20Azure%20AD%20Identity%20Protection.%20I%20try%20to%20sign%20in%20with%20my%20global%20admin%20permission%20I%20get%20an%20error%20in%20my%20test%20tenant.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CEM%3EAADSTS50020%3A%20User%20account%20'%3CSTRONG%3Eadmin%40M365x593591.onmicrosoft.com%3C%2FSTRONG%3E'%20from%20identity%20provider%20'%3CA%20href%3D%22https%3A%2F%2Fsts.windows.net%2F1d3ca640-1619-4157-a50e-58f86f9cf1ba%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsts.windows.net%2F1d3ca640-1619-4157-a50e-58f86f9cf1ba%2F%3C%2FA%3E'%20does%20not%20exist%20in%20tenant%20%3CSTRONG%3E'AmbaWolvesE5'%3C%2FSTRONG%3E%20and%20cannot%20access%20the%20application%20%3CSTRONG%3E'b37216c7-2651-4ee5-9c5d-617a30978148'(AADIP)%3C%2FSTRONG%3E%20in%20that%20tenant.%20The%20account%20needs%20to%20be%20added%20as%20an%20external%20user%20in%20the%20tenant%20first.%20Sign%20out%20and%20sign%20in%20again%20with%20a%20different%20Azure%20Active%20Directory%20user%20account.%3C%2FEM%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20production%20tenant%20the%20same%20issue.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1763676%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20use%20AADIP%20connector%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1763676%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F738814%22%20target%3D%22_blank%22%3E%40gizapawel%3C%2FA%3E%26nbsp%3BTry%20an%20account%20that%20uses%20your%20domain%20name%20rather%20than%20the%20.onmicrosoft.com%20one.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1763737%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20use%20AADIP%20connector%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1763737%22%20slang%3D%22en-US%22%3EThanks%20for%20your%20response.%20I%20tried%20in%20the%20production%20tenant.%3CBR%20%2F%3EI%20used%20account%20user%40mytenant.com%20and%20I%20got%20the%20same%20error%3A%20%22...does%20not%20exist%20in%20tenant%20'AmbaWolvesE5'%20and%20cannot%20access%20the%20application%20'b37216c7-2651-4ee5-9c5d-617a30978148'(AADIP)%22%3CBR%20%2F%3E%3CBR%20%2F%3Ethe%20same%20ID%20application%20and%20the%20same%20name%20of%20the%20tenant%20%22AmbaWolvesE5%22%3C%2FLINGO-BODY%3E
Occasional Contributor

Hello,

I want to use in my Playbook connector to AAD Identity Protection for example to get the risk history of a risky user. 

First, we need to sign in to create a connection to Azure AD Identity Protection. I try to sign in with my global admin permission I get an error in my test tenant. 

 

AADSTS50020: User account 'admin@M365x593591.onmicrosoft.com' from identity provider 'https://sts.windows.net/1d3ca640-1619-4157-a50e-58f86f9cf1ba/' does not exist in tenant 'AmbaWolvesE5' and cannot access the application 'b37216c7-2651-4ee5-9c5d-617a30978148'(AADIP) 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.

 

In production tenant the same issue. 

3 Replies

@Pawel_Giza Try an account that uses your domain name rather than the .onmicrosoft.com one.

Thanks for your response. I tried in the production tenant.
I used account user@mytenant.com and I got the same error: "...does not exist in tenant 'AmbaWolvesE5' and cannot access the application 'b37216c7-2651-4ee5-9c5d-617a30978148'(AADIP)"

the same ID application and the same name of the tenant "AmbaWolvesE5"

@Pawel_Giza 

I am facing similar issue. Want to use AADIP connector is a logic app but its giving me same error - 

Message: AADSTS700016: Application with identifier 'b37216c7-2651-4ee5-9c5d-617a30978148' was not found in the directory 'xxxxxxxxxxxxxxxxxxx'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant. could not find any information on connector page or elsewhere on how to fix it.