[英]Azure AD B2C - How to see user's extensions
I followed the tutorial here to be able to ask user's consent and store it in the AD as custom extension (from what I did understood...)我按照这里的教程能够征求用户的同意并将其作为自定义扩展存储在 AD 中(根据我的理解......)
The custom flow seems to work well (consents are asked during signup process) but then I want to verify them in the AD (and maybe delete them from the admin console for new tests) I did not found where I can see them...自定义流程似乎运行良好(在注册过程中征求同意)但随后我想在 AD 中验证它们(并且可能从管理控制台中删除它们以进行新测试)我没有找到在哪里可以看到它们...
I tried to retrieve them through MS Graph API explorer (I started in on my tenant on the URL https://developer.microsoft.com/en-us/graph/graph-explorer?tenant=xxxx.onmicrosoft.com ) and I try to call the endpoint https://graph.microsoft.com/v1.0/users/ae29dab2-...-f4d813ca6dec/extensions but I get no extensions back...我尝试通过 MS Graph API 资源管理器检索它们(我从 URL https://developer.microsoft.com/en-us/graph/graph-explorer?tenant=xxxx.onmicrosoft.com上的租户开始),然后我尝试调用端点https://graph.microsoft.com/v1.0/users/ae29dab2-...-f4d813ca6dec/extensions但我没有得到任何扩展...
Am I doing things right ?我做对了吗? Is there another way to verify what are the current user's custom extensions ?
是否有另一种方法来验证当前用户的自定义扩展名是什么?
I think those extensions are well stored, because when I try to login again with the same user, no consents is asked anymore...我认为这些扩展程序存储得很好,因为当我尝试使用同一用户再次登录时,不再要求同意...
Thanks in advance for your help!在此先感谢您的帮助!
Try https://graph.microsoft.com/beta/users/UsersObjectId
.尝试
https://graph.microsoft.com/beta/users/UsersObjectId
。 It will return their extension attributes in the response.它将在响应中返回它们的扩展属性。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.