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

Get-LogicAppTemplate - Aggregation Exception #107

Open
dgroh opened this issue Apr 30, 2021 · 2 comments
Open

Get-LogicAppTemplate - Aggregation Exception #107

dgroh opened this issue Apr 30, 2021 · 2 comments

Comments

@dgroh
Copy link

dgroh commented Apr 30, 2021

I'm trying to import my template from my Logic App and I get the following exception:

Get-LogicAppTemplate : Aggregation Exception thrown, One or more errors occurred., first Exception
message is: Object reference not set to an instance of an object., for more information read the
output file.
At line:1 char:1

  • Get-LogicAppTemplate -LogicApp logic-app-key-vault-test -ResourceGrou ...
  • CategoryInfo : NotSpecified: (:) [Get-LogicAppTemplate], Exception
  • FullyQualifiedErrorId : System.Exception,LogicAppTemplate.GeneratorCmdlet

I have double checked everything, Subscription Id is correct. Resource names are also correct. I would almost think that this happens because I have two active Subscriptions with the same name, because the same command works in another tenant with the same resource.

@dgroh
Copy link
Author

dgroh commented May 14, 2021

The same error is ocurring for other logic apps, too where there is only one subscription...

@MLogdberg
Copy link
Collaborator

Could it be that you need to set the -tenant property?
Since it will take one of them when logging in, and if it takes wrong you will get an issue.

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