无法使用REST API更新扩展 [英] Unable to update extension using REST API

查看:58
本文介绍了无法使用REST API更新扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我尝试创建REST API用新值更新扩展名companyName但出错。



" message":" Extension with given id not found。"



如果我参考doc,我真的不懂这个代码。请指教。



如何查找扩展ID?



https://graph.microsoft.com/v1.0/me/extensions/{extension-id}



推荐答案

Hello Faiz, 

Hello Faiz, 

如何您是否创建了扩展名"公司名称"?

How did you create the extension "Company Name" ?

您是否看到拨打此电话时列出的任何对象"GET
https:/ /graph.microsoft.com/v1.0/me/extensions
"?

Do you see any objects listed when you make this call " GET https://graph.microsoft.com/v1.0/me/extensions" ?

如果没有填充,那么你将看不到任何对象。 

If it's not populated then you will not see any object. 

此外,"CompanyName"将作为测试端点中的属性列出,您可以使用测试端点直接更新。 

Also "CompanyName" will be listed as an attribute in the beta endpoint and you can update it directly using the beta endpoint. 

示例:PATCH  https://graph.microsoft.com/beta/me

Example: PATCH https://graph.microsoft.com/beta/me

以下作为有效载荷

{

 " companyName":" Manolabs"

}

请查看此
doc
了解如何通过Gr更新用户属性aph 

Please check this doc to see how to update user properties through Graph 

 


这篇关于无法使用REST API更新扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆