Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

createdDateTime field is missing from com.microsoft.graph.models.ServicePrincipal

Open
#2,246 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
java
Domain
api

Research direction

Locate the com.microsoft.graph.models.ServicePrincipal model and inspect how its fields are serialized and deserialized. Compare the Java SDK model with the service principal fields returned by Graph API or Graph Explorer, then verify that createdDateTime is available in fetched service principal objects.

Written by the indexing model from the issue text.

Description

dependency:metadata type:bug
Describe the bug

There is no createdDateTime in com.microsoft.graph.models.ServicePrincipal. However, when using Graph API via REST or in Graph Explorer, createdDateTime is returned for service principals

Expected behavior

createdDateTime should be a member of com.microsoft.graph.models.ServicePrincipal and should be serialized/deserialized when using the SDK

How to reproduce

Fetch service principals using Java SDK - no createdDateTime is present
Fetch service principals using Graph Explorer - there is createdDateTime for every service principal object

SDK Version

all versions

Latest version known to work for scenario above?

6.22.0

Known Workarounds

No response

Debug output
Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_
Dominant language
Java
Stars
444
Forks
154
Avg merge
18h 28m
Merged PRs (30d)
4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoftgraph/msgraph-sdk-java

All issues in microsoftgraph/msgraph-sdk-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.