Skip to content

Commit

Permalink
'Update comment based help and tests
Browse files Browse the repository at this point in the history
This pull request was automatically created by the d365fo.tools-Generate-Text action'
  • Loading branch information
FH-Inway committed Dec 17, 2023
1 parent 6915c74 commit a0008a6
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions docs/New-D365EntraIntegration.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,34 +55,26 @@ Finally, after running the cmdlet, if a new certificate was created, it must be

### EXAMPLE 1
```
New-D365EntraIntegration
```

Enables the Entra ID integration with a new self-signed certificate named "CHEAuth" which expires after 2 years.
It will ask for a ClientId/AppId.

### EXAMPLE 2
```
New-D365EntraIntegration -ClientId e70cac82-6a7c-4f9e-a8b9-e707b961e986
```

Enables the Entra ID integration with a new self-signed certificate named "CHEAuth" which expires after 2 years.

### EXAMPLE 3
### EXAMPLE 2
```
New-D365EntraIntegration -ClientId e70cac82-6a7c-4f9e-a8b9-e707b961e986 -CertificateName "SelfsignedCert"
```

Enables the Entra ID integration with a new self-signed certificate with the name "Selfsignedcert" that expires after 2 years.

### EXAMPLE 4
### EXAMPLE 3
```
New-D365EntraIntegration -AppId e70cac82-6a7c-4f9e-a8b9-e707b961e986 -CertificateName "SelfsignedCert" -CertificateExpirationYears 1
```

Enables the Entra ID integration with a new self-signed certificate with the name "SelfsignedCert" that expires after 1 year.

### EXAMPLE 5
### EXAMPLE 4
```
$securePassword = Read-Host -AsSecureString -Prompt "Enter the certificate password"
```
Expand All @@ -92,7 +84,7 @@ PS C:\\\> New-D365EntraIntegration -AppId e70cac82-6a7c-4f9e-a8b9-e707b961e986 -
Enables the Entra ID integration with a new self-signed certificate with the name "CHEAuth" that expires after 2 years, using the provided password to generate the private key of the certificate.
The certificate file and the private key file are saved to the Desktop of the current user.

### EXAMPLE 6
### EXAMPLE 5
```
$securePassword = Read-Host -AsSecureString -Prompt "Enter the certificate password"
```
Expand Down

0 comments on commit a0008a6

Please sign in to comment.