microsoftgraph / microsoftgraph/msgraph-sdk-powershell
Get-MgBetaServicePrincipal returns wrong PreferredTokenSigningKeyEndDateTime values
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 898
- Forks
- 230
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 31
Description
In order to get the expiration date of SAML certificates, i'm using 'Get-MgBetaServicePrincipal' to retreive PreferredTokenSigningKeyEndDateTime value for all the apps:
For some applications, the value returned by the cmdlet is not accurate:
The cmdlet Get-MgServicePrincipal doesn't return PreferredTokenSigningKeyEndDateTime property.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Get-MgBetaServicePrincipal and Get-MgServicePrincipal entry points and compare their PreferredTokenSigningKeyEndDateTime behavior for the applications described. Check the returned values against the SAML certificate expiration dates shown in the issue, and determine whether the discrepancy is in the cmdlet or the Microsoft Graph response. Done means the property is returned accurately and consistently, or the service limitation is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100