尝试使用此代码从MS Graph获取Iana格式的受支持时区
var timeZones = await graphServiceClient
.Me
.Outlook
.SupportedTimeZones(TimeZoneStandard.Iana)
.Request()
.GetAsync();我得到了这个错误
The parameter 'TimeZoneStandard=Iana' is not in scope.
在不使用TimeZoneStandard.Iana参数的情况下执行相同的调用会成功。不支持TimeZoneStandard.Iana吗?
发布于 2020-03-30 13:54:48
参数需要正确地指定为(microsoft.graph.timeZoneStandard'Iana'),如下图所示。
请参考此document以获得更好的理解。
https://stackoverflow.com/questions/60923035
复制相似问题