botframework-solutions icon indicating copy to clipboard operation
botframework-solutions copied to clipboard

Calendar Skill meeting room booking issue - Error Communicating with AD

Open gagankohli2000 opened this issue 6 years ago • 7 comments

What project is affected?

Calendar Skill meeting room booking issue

What language is this in?

What happens?

Here is log of enable_findmeetingroom_log

Invoke-RestMethod: \Deployment\Scripts\msgraph_functions.ps1:40 Line |  40 |  $result = Invoke-RestMethod -Uri $url -Headers $headers  |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  | { "error": { "code": "UnknownError", "message": "Error Communicating with AD.", "innerError": { "request-id": "ed1f1e08-321c-42e8-a630-06a5a9bc9fc1",  | "date": "2020-03-13T09:23:32" } } } 

What are the steps to reproduce this issue?

What were you expecting to happen?

Can you share any logs, error output, etc.?

Any screenshots or additional context?

gagankohli2000 avatar Mar 13 '20 09:03 gagankohli2000

It seems to be issue with Graph API. Below API works fine https://graph.microsoft.com/beta/me/findrooms API1

But i noticed msgraph_functions.ps1 is using beta version https://graph.microsoft.com/beta/places/microsoft.graph.room which is causing error API2

gagankohli2000 avatar Mar 15 '20 07:03 gagankohli2000

Hi,

Can you clarify the detailed steps of reproducing this issue? And can you confirm if you are still experiencing this issue after your last comment/update?

Thanks.

lzc850612 avatar Mar 16 '20 05:03 lzc850612

Please see updated documentation in the above Pull Request

darrenj avatar Mar 17 '20 12:03 darrenj

@darrenj Graph API https://graph.microsoft.com/beta/places/microsoft.graph.room is not working on our production tenant. Not sure if it's enabled on tenant as this is still in beta. This is where the powershell script is failing.

I'm getting same error when i manually execute Graph API in explorer. I have all the permissions.

gagankohli2000 avatar Mar 17 '20 21:03 gagankohli2000

Update both the files but still getting same error

ERROR: Deployment failed. Correlation ID: caa8cbe3-fa97-4127-a22b-f91d86cc2929. {

"error": {

"code": "ServiceNameUnavailable",

"message": "Cannot provision service 'calendarskill-bavmlvv' because a service with this name is already in use, or another request to provision a service with this name is still in progress RequestId: 46efc92e-f56c-4c67-9b82-474dec1a9a93",

"target": null,

"details": null

}

}

Invoke-RestMethod: D:\NABBOTv8\calendarskill\Deployment\Scripts\msgraph_functions.ps1:40 Line |  40 |  $result = Invoke-RestMethod -Uri $url -Headers $headers  |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  | { "error": { "code": "UnknownError", "message": "Error Communicating with AD.",
 | "innerError": { "request-id": "0e311405-bdcb-4ebe-9eec-879d7d830ea9", "date":  | "2020-03-17T22:34:47" } } }

gagankohli2000 avatar Mar 17 '20 22:03 gagankohli2000

@gagankohli2000 Hi, have you resolved this problem? I opened a issue to the ms-graph https://github.com/microsoftgraph/microsoft-graph-docs-contrib/issues/5679. They said that they recently updated the code and suggested to retry. If still getting the same error, feel free to give feedback in that issue direcly.

xhr0804 avatar Mar 26 '20 02:03 xhr0804

No response in almost four weeks, so closing out issue. @gagankohli2000 if you are still experiencing issues and there is something we can actively help you with, feel free to reactivate and we can reengage as necessary.

peterinnesmsft avatar Apr 20 '20 23:04 peterinnesmsft