Why I am not able to post? Can you please help me posting the following
Hi @soumi-MSFT,
We have modified to https://login.microsoftonline.com/common and could see the APP created in CompanyA Azure under CompanyB Azure Enterprise Applications.Next,to integrate the Onedrive, From WebAPP provided the ClientID/ClientSecret and TenantID of CompanyA and on click, we provided the CompanyB user ID and PWD to connect to Onedrive.It asked for consent and When I accepted it gave the following error. Do I need to add the companyB user as an external user in CompanyA? Please let know.
Sigin Error: AADSTS50020: User account 'sakti@saktimohapatra.onmicrosoft.com' from identity provider 'https://sts.windows.net/a3750407-35a9-4274-a3f3-52d7e6f9cf0b/' does not exist in tenant 'nowigence.com' and cannot access the application 'c5a7c431-a09c-48b8-9de4-3b1ded0c68c6'(myonedrivetest) 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.