Skip to content

Commit

Permalink
Updated Resources and Cmdlet documentation pages
Browse files Browse the repository at this point in the history
  • Loading branch information
NikCharlebois committed Oct 14, 2024
1 parent 47aab75 commit c5f39d4
Show file tree
Hide file tree
Showing 3 changed files with 157 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/docs/resources/intune/IntuneAppCategory.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

| Parameter | Attribute | DataType | Description | Allowed Values |
| --- | --- | --- | --- | --- |
| **DisplayName** | Key | String | The name of the app category. | |
| **DisplayName** | Key | String | The name of the app. | |
| **Id** | Write | String | The unique identifier for an entity. Read-only. | |
| **Ensure** | Write | String | Present ensures the instance exists, absent ensures it is removed. | `Present`, `Absent` |
| **Credential** | Write | PSCredential | Credentials of the workload's Admin | |
Expand Down
150 changes: 150 additions & 0 deletions docs/docs/resources/intune/IntuneDerivedCredential.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
# IntuneDerivedCredential

## Parameters

| Parameter | Attribute | DataType | Description | Allowed Values |
| --- | --- | --- | --- | --- |
| **DisplayName** | Key | String | The name of the app category. | |
| **Id** | Write | String | The unique identifier for an entity. Read-only. | |
| **HelpUrl** | Write | String | The URL that will be accessible to end users as they retrieve a derived credential using the Company Portal. | |
| **RenewalThresholdPercentage** | Write | UInt32 | The nominal percentage of time before certificate renewal is initiated by the client. | |
| **Issuer** | Write | String | Supported values for the derived credential issuer. | `intercede`, `entrustDatacard`, `purebred` |
| **NotificationType** | Write | String | Supported values for the notification type to use. | `none`, `email`, `companyPortal` |
| **Ensure** | Write | String | Supported values for the notification type to use. | `Present`, `Absent` |
| **Credential** | Write | PSCredential | Credentials of the Intune Admin | |
| **ApplicationId** | Write | String | Id of the Azure Active Directory application to authenticate with. | |
| **TenantId** | Write | String | Name of the Azure Active Directory tenant used for authentication. Format contoso.onmicrosoft.com | |
| **ApplicationSecret** | Write | PSCredential | Secret of the Azure Active Directory tenant used for authentication. | |
| **CertificateThumbprint** | Write | String | Thumbprint of the Azure Active Directory application's authentication certificate to use for authentication. | |
| **ManagedIdentity** | Write | Boolean | Managed ID being used for authentication. | |
| **AccessTokens** | Write | StringArray[] | Access token used for authentication. | |


## Description

## Create new navigation property to derivedCredentials for deviceManagement for Intune.

## Permissions

### Microsoft Graph

To authenticate with the Microsoft Graph API, this resource required the following permissions:

#### Delegated permissions

- **Read**

- None

- **Update**

- None

#### Application permissions

- **Read**

- None

- **Update**

- None

## Examples

### Example 1


```powershell
Configuration Example {
param(
[Parameter()]
[System.String] $ApplicationId,
[Parameter()]
[System.String] $TenantId,
[Parameter()]
[System.String] $CertificateThumbprint
)
Import-DscResource -ModuleName Microsoft365DSC
node localhost {
IntuneDerivedCredential "IntuneDerivedCredential-K5"
{
DisplayName = "K5";
HelpUrl = "http://www.ff.com/";
Id = "a409d85f-2a49-440d-884a-80fb52a557ab";
Issuer = "purebred";
NotificationType = "email";
Ensure = "Present";
}
}
}
```

### Example 2


```powershell
Configuration Example {
param(
[Parameter()]
[System.String] $ApplicationId,
[Parameter()]
[System.String] $TenantId,
[Parameter()]
[System.String] $CertificateThumbprint
)
Import-DscResource -ModuleName Microsoft365DSC
node localhost {
IntuneDerivedCredential "IntuneDerivedCredential-K5"
{
DisplayName = "K5";
HelpUrl = "http://www.ff.com/";
Id = "a409d85f-2a49-440d-884a-80fb52a557ab";
Issuer = "purebred";
NotificationType = "email";
Ensure = "Present";
}
}
}
```

### Example 3


```powershell
Configuration Example {
param(
[Parameter()]
[System.String] $ApplicationId,
[Parameter()]
[System.String] $TenantId,
[Parameter()]
[System.String] $CertificateThumbprint
)
Import-DscResource -ModuleName Microsoft365DSC
node localhost {
IntuneDerivedCredential "IntuneDerivedCredential-K5"
{
DisplayName = "K5";
HelpUrl = "http://www.ff.com/";
Id = "a409d85f-2a49-440d-884a-80fb52a557ab";
Issuer = "purebred";
NotificationType = "email";
Ensure = "Absent";
}
}
}
```

11 changes: 6 additions & 5 deletions docs/docs/resources/intune/IntuneMobileAppsMacOSLobApp.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
| **Owner** | Write | String | The owner of the app. Inherited from mobileApp. | |
| **PrivacyInformationUrl** | Write | String | The privacy statement Url. Inherited from mobileApp. | |
| **Publisher** | Write | String | The publisher of the app. Inherited from mobileApp. | |
| **PublishingState** | Write | String | The publishing state for the app. The app cannot be assigned unless the app is published. Inherited from mobileApp. | `notPublished`, `processing`, `published` |
| **BundleId** | Write | String | The bundleId of the app. | |
| **BuildNumber** | Write | String | The build number of the app. | |
| **VersionNumber** | Write | String | The version number of the app. | |
| **RoleScopeTagIds** | Write | StringArray[] | List of Scope Tag IDs for mobile app. | |
| **IgnoreVersionDetection** | Write | Boolean | Whether to ignore the version of the app or not. | |
| **InstallAsManaged** | Write | Boolean | Install the app as managed. Requires macOS 11.0. | |
| **LargeIcon** | Write | MSFT_DeviceManagementMimeContent | The icon for this app. | |
| **MinimumSupportedOperatingSystem** | Write | MSFT_DeviceManagementMinimumOperatingSystem | The minimum supported operating system to install the app. | |
| **Categories** | Write | MSFT_DeviceManagementMobileAppCategory[] | The list of categories for this app. | |
Expand Down Expand Up @@ -170,7 +170,7 @@ Configuration Example
PrivacyInformationUrl = "";
Publisher = "Contoso";
Assignments = @(
MSFT_DeviceManagementMobileAppAssignment{
MSFT_DeviceManagementMobileAppAssignment {
groupDisplayName = 'All devices'
deviceAndAppManagementAssignmentFilterType = 'none'
dataType = '#microsoft.graph.allDevicesAssignmentTarget'
Expand Down Expand Up @@ -234,14 +234,15 @@ Configuration Example
Owner = "";
PrivacyInformationUrl = "";
Publisher = "Contoso";
Assignments = @(
MSFT_DeviceManagementMobileAppAssignment{
PublishingState = "published";
Assignments = @(
MSFT_DeviceManagementMobileAppAssignment {
groupDisplayName = 'All devices'
deviceAndAppManagementAssignmentFilterType = 'none'
dataType = '#microsoft.graph.allDevicesAssignmentTarget'
intent = 'required'
}
MSFT_DeviceManagementMobileAppAssignment{
MSFT_DeviceManagementMobileAppAssignment {
deviceAndAppManagementAssignmentFilterType = 'none'
dataType = '#microsoft.graph.groupAssignmentTarget'
groupId = '57b5e81c-85bb-4644-a4fd-33b03e451c89'
Expand Down

0 comments on commit c5f39d4

Please sign in to comment.