如何在没有自定义验证域的情况下创建架构扩展 [英] How to create schema extension without custom verified domain

查看:85
本文介绍了如何在没有自定义验证域的情况下创建架构扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据本文: 使用架构扩展(预览)将自定义数据添加到组

如果要创建自定义架构扩展,则必须具有一个验证域名,例如domain.com.必须以".com"结尾吗?怎么样test.domain.com?那domain.net呢?没有自定义域,只有默认的Microsoft域如何?

If I want to create a custom schema extension, I must have a verify domain name like domain.com. Must ends with '.com'? How about test.domain.com? how about domain.net? How about without custom domain, just with default onmicrosoft domain?

尝试创建架构扩展时遇到此错误:

I got this error when I try to create a schema extension:

{ "error": { "code": "BadRequest", "message": "Your organization must own the namespace gaoulm021 as a part of one of the verified domains.", "innerError": { "request-id": "c443d4be-6258-4648-a36b-985662cfe433", "date": "2017-03-09T07:07:39" } } }

{ "error": { "code": "BadRequest", "message": "Your organization must own the namespace gaoulm021 as a part of one of the verified domains.", "innerError": { "request-id": "c443d4be-6258-4648-a36b-985662cfe433", "date": "2017-03-09T07:07:39" } } }

有帮助吗?

谢谢!

推荐答案

当前,您必须具有经过验证的域名,例如"domain.com",是的,它必须以.com结尾.将来我们会放松这一点.

Currently you must have a verified domain name like "domain.com", and yes it must end with .com. We will be relaxing this in the future.

我们不支持将初始域(例如contoso.onmicrosoft.com)用于扩展定义命名.我们不太可能支持这一点.

We don't support using the initial domain (like contoso.onmicrosoft.com) for extension definition naming. We're unlikely to support this.

我们正在研究另一种机制,该机制将允许您创建扩展定义而不需要经过验证的域,但是该名称看起来很难看-类似于ext_{generated_random_string}_{your_schema_name}.如果您没有虚荣域,这将使上手变得更容易.我们希望很快进行此更新.

We are working on another mechanism that will allow you to create an extension definition without needing a verified domain, but the name will look uglier - something like ext_{generated_random_string}_{your_schema_name}. This will make it easier to get started if you don't have a vanity domain. We hope to make this update very soon.

更新3/22/2017 :我们现在引入了一种新机制,这意味着您可以注册架构扩展定义而无需具有经过验证的.com域.在这种情况下,您可以将id设置为简单的模式名称(不能包含下划线字符).创建时,id将设置为ext{8-char-random-alphanumeric}_{your-supplied-name}.如果这对您有用,请告诉我们.还会使用以下信息更新文档: https: //developer.microsoft.com/zh-CN/graph/docs/api-reference/beta/api/schemaextension_post_schemaextensions

UPDATE 3/22/2017: We've now introduced a new mechanism that means you can register schema extension definitions without having a verified .com domain. In this case you would set the id to simply the name of your schema (which cannot include an underscore character). On creation, id will be set to ext{8-char-random-alphanumeric}_{your-supplied-name}. Please let us know if this is working for you. Also docs are updated with this info: https://developer.microsoft.com/en-us/graph/docs/api-reference/beta/api/schemaextension_post_schemaextensions

更新6/16/2017 :我们现在还支持基于TLD根为.net.gov.edu.我们尚未更新文档以反映这一点,但会尽快完成.

UPDATE 6/16/2017: We now additionally support creating schema extension ids namespaced based on verified domains that have a TLD root of .net,.gov, .edu and .org. We've not updated the docs to reflect this, but will do soon.

希望这会有所帮助,

这篇关于如何在没有自定义验证域的情况下创建架构扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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