jeffhollan / LogicAppTemplateCreator

Script to convert Logic Apps into templates for deployment
MIT License
143 stars 74 forks source link

Exception Message when adding Diagnostics Settings #47

Open Viktorh89 opened 5 years ago

Viktorh89 commented 5 years ago

to recreate:

  1. Create Logic App
  2. From Log Analytics under "Azure Resources" add your LA to be logged
  3. run export with diagnostic settings to "true"

this error shows: Get-LogicAppTemplate : Aggregation Exception thrown, One or more errors occurred., first Exception message is: Cannot access child value on Newtonsoft.Json.Linq.JValue., for more information read the output file.

Workaround is to 1.Create Logic App

  1. From Logic App Blade, active Diagnostics settings
  2. Extracting works
MLogdberg commented 5 years ago

Thanks for reporting I'll look into it

ChristianJonsson commented 3 years ago

Getting the exact same issue as @Viktorh89, will check if his workaround works for me as well.