Skip to content

Enhancement: Use the Microsoft Graph Types package in our commands #2436

Description

@plamber

Based on the discussion #2427 we would like to introduce a new package @microsoft/microsoft-graph-types to our project to have strongly typed results when calling Microsoft Graph.

This should reduce the likelihood to introduce bugs based on typing errors.

The aim of this issue is to go through all commands and replace the "custom" types with the "official" types provided by the package.

For the beta endpoints we should consider the "@microsoft/microsoft-graph-types-beta" package.

Here are the commands that need to be updated:

aad -> O365Group

  • o365group-get
  • o365group-list
  • o365group-set
  • o365group-add
  • o365group-recyclebinitem-clear
  • o365group-recyclebinitem-list
  • o365group-recyclebinitem-set

aad -> user

  • o365group-user-list
  • o365group-user-set
  • user-list

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions