最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

c# - Read the Product name using SkuIdskuPartNumber in graph API - Stack Overflow

programmeradmin0浏览0评论

I am trying to get list of subscribedSkus (licenses) information from our tenant using .0/subscribedSkus endpoint. Not able to find the friendly product names other than skuPartNumber.

Is there any other endpoint to get the product name?

Example: For skuPartNumber - DYN365_TEAM_MEMBERS, the product name is Dynamice 365 Team Members.

For skuPartNumber - DYN365_TEAM_MEMBERS, the product name expecting is Dynamice 365 Team Members.

I am trying to get list of subscribedSkus (licenses) information from our tenant using https://graph.microsoft/v1.0/subscribedSkus endpoint. Not able to find the friendly product names other than skuPartNumber.

Is there any other endpoint to get the product name?

Example: For skuPartNumber - DYN365_TEAM_MEMBERS, the product name is Dynamice 365 Team Members.

For skuPartNumber - DYN365_TEAM_MEMBERS, the product name expecting is Dynamice 365 Team Members.

Share Improve this question edited Mar 12 at 17:18 Arko 3,9261 gold badge4 silver badges13 bronze badges asked Mar 12 at 16:24 SarithaSaritha 1 4
  • 1 Try using Powershell : reddit/r/Office365/comments/15lkj04/… – jdweng Commented Mar 12 at 17:26
  • 1 Are you expecting this as Output – Pratik Jadhav Commented Mar 12 at 17:32
  • 1 Product-Friendly names are "human readable" values and that are not exposed directly.For more details Refer this Microsoft QnA – Pratik Jadhav Commented Mar 12 at 17:47
  • @Saritha Please check the below solution – Pratik Jadhav Commented Mar 13 at 5:25
Add a comment  | 

1 Answer 1

Reset to default 0

To read friendly product name using SkuId/skuPartNumber

Friendly Product Name is "human readable values " so it is not exposed directly.Refer this Microsoft QnA

Alternatively, you can make use subscribedSkus endpoint for users license properties.

GET https://graph.microsoft/v1.0/subscribedSkus

From this subscribedSkus query you were only able to fetch below properties:

{
  "accountId": "String",
  "accountName": "String",
  "appliesTo": "String",
  "capabilityStatus": "String",
  "consumedUnits": "Int32",
  "id": "String (identifier)",
  "prepaidUnits": { "@odata.type": "microsoft.graph.licenseUnitsDetail" },
  "servicePlans": [{ "@odata.type": "microsoft.graph.servicePlanInfo" }],
  "skuId": "String",
  "skuPartNumber": "String",
  "subscriptionIds": ["String"]
}

Also By using Connect-MsolService you were able to fetch the same in powershell.

Connect-MsolService

Get-MsolAccountSku | Select-Object SkuPartNumber, SkuId, ServiceStatus

References:

subscribedSku respurce type

Microsoft QnA Blog

发布评论

评论列表(0)

  1. 暂无评论