zchoate / letsencrypt_az_aadds_renewal Goto Github PK
View Code? Open in Web Editor NEWUse to update LDAPS certificate with LetsEncrypt certificate automatically.
Use to update LDAPS certificate with LetsEncrypt certificate automatically.
Hi Zach,
Would you have any insights on this?
Seems we have got further once more...
But now run into these errors...
ERROR: You cannot call a method on a null-valued expression.
At line:192 char:1
+ $cacheItem = $cache.ReadItems()
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
ERROR: Cannot index into a null array.
At line:193 char:1
+ $accessToken=($cacheItem | Where-Object { $_.Resource -eq "https://ma ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray
ERROR: Invoke-RestMethod : {"error":{"code":"AuthenticationFailedMissingToken","message":"Authentication failed. The
'Authorization' header is missing the access token."}}
At line:199 char:1
+ Invoke-RestMethod -Uri $url -Headers $headerParams -Method Patch -Con ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod],
WebException
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
Any help is always greatly appreciated!
Kind regards
Fewer DnsPlugin values than names in the order. Using Cloudflare for the rest.
And looking at the JSON after the job failed:
{ **REDACTED**
"type": "Microsoft.Automation/AutomationAccounts/Jobs",
"properties": {
"jobId": "**REDACTED**",
"creationTime": "2021-03-10T16:19:31.2955324+00:00",
"provisioningState": "Failed",
"status": "Failed",
"statusDetails": "None",
"startedBy": "{scrubbed}",
"startTime": "2021-03-10T16:22:16.3193816+00:00",
"endTime": "2021-03-10T16:22:16.3193816+00:00",
"lastModifiedTime": "2021-03-10T16:22:16.3193816+00:00",
"lastStatusModifiedTime": "2021-03-10T16:22:16.3193816+00:00",
"exception": "The remote server returned an error: (400) Bad Request. (The remote server returned an error: (400) Bad Request.)",
"parameters": {},
"runOn": null,
"runbook": {
"name": "Install-LE-AADDS"
}
}
All details are correct - as we tested them (API, etc with another service)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.