Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Depth Overflow #130

Open
DeyvLauzon opened this issue Oct 17, 2022 · 2 comments
Open

Depth Overflow #130

DeyvLauzon opened this issue Oct 17, 2022 · 2 comments

Comments

@DeyvLauzon
Copy link

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

  •     Connect-M365Tenant -Workload MicrosoftGraph -ApplicationId $A ...
    
  •     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (0:Int32) [Connect-M365Tenant], RuntimeException
    • FullyQualifiedErrorId : CallDepthOverflow,Connect-M365Tenant

Am I missing something in my Azure APP config?

@NikCharlebois
Copy link
Collaborator

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
Copy link
Author

DeyvLauzon commented Oct 20, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants