RuiRomano / pbimonitor

MIT License
221 stars 83 forks source link

Azure function issue #42

Open nayanjyoti123 opened 1 year ago

nayanjyoti123 commented 1 year ago

We are facing a duplicate key issue in requirements.psd1

Following is the error code:

Result: Failure Exception: Failed to install function app dependencies. Error: 'The script file 'requirements.psd1' has parsing errors: Duplicate keys 'MicrosoftPowerBIMgmt.Profile' are not allowed in hash literals. ' Stack: at Microsoft.Azure.Functions.PowerShellWorker.DependencyManagement.DependencyManager.Initialize(ILogger logger) in D:\a_work\1\s\src\DependencyManagement\DependencyManager.cs:line 122 at Microsoft.Azure.Functions.PowerShellWorker.DependencyManagement.DependencyManager.Initialize(StreamingMessage request, ILogger logger) in D:\a_work\1\s\src\DependencyManagement\DependencyManager.cs:line 94 at Microsoft.Azure.Functions.PowerShellWorker.RequestProcessor.ProcessFunctionLoadRequest(StreamingMessage request) in D:\a_work\1\s\src\RequestProcessor.cs:line 196