Tag: azure mobile services

从SAS URL上传到azure blob存储将返回404状态

我正在使用Azure移动服务API端点将私有共享访问签名URL返回到我的Azure存储容器,如下所示: var blobService = azure.createBlobService(accountName, key, host); blobService.createContainerIfNotExists(containerName, function(err) { if (err) { cb(err, null); return; } // Generate a 5 minute access var expiryDate = minutesFromNow(5); var sharedAccessPolicy = { AccessPolicy: { Permissions: azure.Constants.BlobConstants.SharedAccessPermissions.WRITE, Expiry: expiryDate } }; // Generate the URL with read access token var sasURL = blobService.generateSharedAccessSignature(containerName, blobName, sharedAccessPolicy); var urlForDownloading […]

用户凭证需要获取访问令牌。 请调用非沉默的acquireTokenWithResource方法

我正在使用ADALiOS进入我的应用程序进行身份validation。 当用户login到应用程序时,我收到以下错误: “参数'cacheItem.scopes'是无效的。值:(null)。” 和 “用户凭证需要获取访问令牌,请调用非静默acquireTokenWithResource方法” 任何帮助,将不胜感激。 谢谢

如何使用Azure移动服务APIfunction

一个APIfunction已被添加到WAMS,我可以定义自定义脚本。 这似乎不赞成以前创build脚本表的做法。 但是,我无法find关于如何使用它的任何描述。 哪些客户端可以访问此function? 可以从iOS或Javascript使用吗?

无效的更新:节中的行数无效

我正在使用Microsoft Azure services的项目。 在删除一行时,我得到这个错误: Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid update: invalid number of rows in section 0. The number of rows contained in an existing section after the update (2) must be equal to the number of rows contained in that section before the update (2), plus or minus the number […]