microsoft / MSCloudLoginAssistant

PowerShell Module Handling Authentication to Cloud Services
https://www.powershellgallery.com/packages/MSCloudLoginAssistant/
MIT License
72 stars 47 forks source link

Depth Overflow #130

Open DeyvLauzon opened 1 year ago

DeyvLauzon commented 1 year ago

When trying to login using my own ApplicationID, TenantID and cert thumbprint I get this error:

Connect-M365Tenant : The script failed due to call depth overflow. At D:\Scripts\bin\Modules\MSCloudLoginAssistant\1.0.94\MSCloudLoginAssistant.psm1:866 char:9

Am I missing something in my Azure APP config?

NikCharlebois commented 1 year ago

Salut @DeyvLauzon,

How are you passing in the TenantId? Are you passing in the DNS of the tenant or the actual GUID (it shouldn't matter, but trying to understand the logic flow). Also, any special setup in this tenant? (e.g., multiple trusted domains, etc.)

DeyvLauzon commented 1 year ago

Hi Nick,

Glad to meet you,. I have watched all your videos.

I had the Onmicrosoft tenant name because if I try with GUID I get this error:

Authentication methods specified:

TenantID must be in format contoso.onmicrosoft.com

Le jeu. 20 oct. 2022 à 11:18, Nik Charlebois @.***> a écrit :

Salut @DeyvLauzon https://github.com/DeyvLauzon,

How are you passing in the TenantId? Are you passing in the DNS of the tenant or the actual GUID (it shouldn't matter, but trying to understand the logic flow). Also, any special setup in this tenant? (e.g., multiple trusted domains, etc.)

— Reply to this email directly, view it on GitHub https://github.com/microsoft/MSCloudLoginAssistant/issues/130#issuecomment-1285724732, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASQULXRIFHAVLW656M433MLWEFPDTANCNFSM6AAAAAARHE2B4A . You are receiving this because you were mentioned.Message ID: @.***>

-- David Lauzon

AllezY CircuitsFrontieres Le Grand Fat Tour