d365collaborative / d365fo.tools

Tools used for Dynamics 365 Finance and Operations
MIT License
236 stars 97 forks source link

:sparkles: Add Get-D365RsatSelfServiceCertificates cmdlet #800

Closed FH-Inway closed 5 months ago

FH-Inway commented 5 months ago

I could have sworn we already had this, but I could not find it. So I propose we add a new cmdlet to download the RSAT certificates from LCS as per https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/lifecycle-services/api/v1/reference-download-rsat-certificate

Ideally, the result can be piped directly to Import-D365RsatSelfServiceCertificates.

Current request for this: https://www.yammer.com/dynamicsaxfeedbackprograms/threads/2251869006061568

Splaxi commented 5 months ago

L F G !

I'm all in for getting this done ASAP 🤘

Splaxi commented 5 months ago

I have a working initial version done 🔥

Splaxi commented 5 months ago

0.7.8

FH-Inway commented 5 months ago

@Splaxi I fixed a minor copy&paste issue in the documentation in #803 Also added what I believe should enable piping the result of Get-D365LcsEnvironmentRsatCertificate into Import-D365RsatSelfServiceCertificates. Could you check if that works? Unfortunately, I currently do not have access to credentials to test it myself.

Splaxi commented 5 months ago

I'll take a leap of faith - and did the merge. Will release later today.

Let's fix the issues, if any, when someone hits them later down the road...

FH-Inway commented 2 months ago

Version with fixed piping now available in 0.7.10