When deploying templates there is an api request to check for syntex user license which is failing on tenants with pay as you go model.
Workaround should be commenting the line:
$syntexLicense = Invoke-PnPSPRestMethod -Method Get -Url "/_api/machinelearning/MachineLearningEnabled/UserSyntexEnabled" -Raw
And add:
$syntexLicense = $true
This line probably should be deprecated given the Syntex billing model now is pay as you go.
When deploying templates there is an api request to check for syntex user license which is failing on tenants with pay as you go model. Workaround should be commenting the line:
$syntexLicense = Invoke-PnPSPRestMethod -Method Get -Url "/_api/machinelearning/MachineLearningEnabled/UserSyntexEnabled" -Raw
And add: $syntexLicense = $true
This line probably should be deprecated given the Syntex billing model now is pay as you go.