Skip to content

Conversation

jessHuh
Copy link
Member

@jessHuh jessHuh commented Aug 5, 2025

Checklist

  • I have read the contribution guidelines.
  • I added or modified the existing tests to cover the change (we do not allow our test coverage to go down).
  • This pull-request is submitted against the main branch.

Description of the changes

Adding a new field "CredentialPolicyName" in EnrollmentGruop and IndividualEnrollment. This change will be introduced as part of 2025-07-01-preview API.

Reference/Link to the issue solved with this PR (if any)

@jessHuh jessHuh changed the title [DPS] Provisioniong Service SDK Update [DPS][Public Preview] Provisioniong Service SDK Update Aug 6, 2025
@ewertons
Copy link
Contributor

ewertons commented Aug 8, 2025

Also, this feature is for private preview for now, isn't it? It shouldn't be merged to main then. Did you get any different info from Tim?

/// Linked Azure Device Registry credential policy name (optional).
/// </summary>
[JsonProperty(PropertyName = "credentialPolicyName", DefaultValueHandling = DefaultValueHandling.Ignore)]
public string CredentialPolicyName { get; set; }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is credentialPolicyName the only change expected, or there will be more? Are the signing certs also set through th DPS service API?

@@ -18,6 +18,7 @@ public class EnrollmentGroupTests
private const string SampleLastUpdatedDateTimeUTCString = "2017-11-14T12:34:18.321Z";
private DateTime SampleLastUpdatedDateTimeUTC = new DateTime(2017, 11, 14, 12, 34, 18, 321, DateTimeKind.Utc);
private const string SampleEtag = "00000000-0000-0000-0000-00000000000";
private const string SampleCredentialPolicyName = "testCredentialPolicyName";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you going to add any end to end tests as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants