Importing JSON file into Azure with Powershell script

Job ID: 30674061

Budget: $10 – $30 USD

I have a JSON file with 70 analytics rules that I want to import to Azure with Powershell.
I am using Powershell to automate that process and get this error. There has to be a simple error i must be making.
The PS script I am using is attached also.
Related categories: Azure JSON Powershell