TeamsNotificationAndFeedsPolicy¶
Parameters¶
| Parameter | Attribute | DataType | Description | Allowed Values |
|---|---|---|---|---|
| IsSingleInstance | Key | String | Only valid value is 'Yes'. | Yes |
| Description | Write | String | Free format text | |
| SuggestedFeedsEnabledType | Write | String | The SuggestedFeedsEnabledType parameter in the Microsoft Teams notifications and feeds policy controls whether users receive notifications about suggested activities and content within their Teams environment. When enabled, this parameter ensures that users are notified about recommended or relevant activities, helping them stay informed and engaged with important updates and interactions. | Disabled, EnabledUserOverride |
| TrendingFeedsEnabledType | Write | String | The TrendingFeedsEnabledType parameter in the Microsoft Teams notifications and feeds policy controls whether users receive notifications about trending activities within their Teams environment. When enabled, this parameter ensures that users are notified about popular or important activities, helping them stay informed about significant updates and interactions. | Disabled, EnabledUserOverride |
| Credential | Write | PSCredential | Credentials of the workload's Admin | |
| ApplicationId | Write | String | Id of the Azure Active Directory application to authenticate with. | |
| TenantId | Write | String | Id 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. | |
| CertificatePath | Write | String | Path to certificate used in service principal usually a PFX file. | |
| CertificatePassword | Write | PSCredential | Username can be made up to anything but password will be used for CertificatePassword | |
| ManagedIdentity | Write | Boolean | Managed ID being used for authentication. | |
| AccessTokens | Write | StringArray[] | Access token used for authentication. |
Description¶
This resources configures a Teams Notifications and Feeds Policy
Permissions¶
Length¶
To authenticate with the Length API, this resource requires the following permissions:
Delegated permissions¶
- Read
-
None
-
Update
- None
Application permissions¶
- Read
-
None
-
Update
- None
LongLength¶
To authenticate with the LongLength API, this resource requires the following permissions:
Delegated permissions¶
- Read
-
None
-
Update
- None
Application permissions¶
- Read
-
None
-
Update
- None
Rank¶
To authenticate with the Rank API, this resource requires the following permissions:
Delegated permissions¶
- Read
-
None
-
Update
- None
Application permissions¶
- Read
-
None
-
Update
- None
SyncRoot¶
To authenticate with the SyncRoot API, this resource requires the following permissions:
Delegated permissions¶
- Read
-
None
-
Update
- None
Application permissions¶
- Read
-
None
-
Update
- None
IsReadOnly¶
To authenticate with the IsReadOnly API, this resource requires the following permissions:
Delegated permissions¶
- Read
-
None
-
Update
- None
Application permissions¶
- Read
-
None
-
Update
- None
IsFixedSize¶
To authenticate with the IsFixedSize API, this resource requires the following permissions:
Delegated permissions¶
- Read
-
None
-
Update
- None
Application permissions¶
- Read
-
None
-
Update
- None
IsSynchronized¶
To authenticate with the IsSynchronized API, this resource requires the following permissions:
Delegated permissions¶
- Read
-
None
-
Update
- None
Application permissions¶
- Read
-
None
-
Update
- None
Count¶
To authenticate with the Count API, this resource requires the following permissions:
Delegated permissions¶
- Read
-
None
-
Update
- None
Application permissions¶
- Read
-
None
-
Update
- None
Examples¶
Example 1¶
This example is used to test new resources and showcase the usage of new resources being worked on. It is not meant to use as a production baseline.
Configuration Example
{
param
(
[Parameter()]
[System.String]
$ApplicationId,
[Parameter()]
[System.String]
$TenantId,
[Parameter()]
[System.String]
$CertificateThumbprint
)
Import-DscResource -ModuleName Microsoft365DSC
node localhost
{
TeamsNotificationAndFeedsPolicy 'Example'
{
ApplicationId = $ApplicationId;
CertificateThumbprint = $CertificateThumbprint;
IsSingleInstance = "Yes";
SuggestedFeedsEnabledType = "EnabledUserOverride"; # Updated property
TenantId = $TenantId;
TrendingFeedsEnabledType = "EnabledUserOverride";
}
}
}