Create schedule for Teams , graph api not working, 204 Response

%3CLINGO-SUB%20id%3D%22lingo-sub-1385866%22%20slang%3D%22en-US%22%3ECreate%20schedule%20for%20Teams%20%2C%20graph%20api%20not%20working%2C%20204%20Response%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1385866%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20getting%20204%20response%20and%20schedule%20is%20not%20getting%20created.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHere%20is%20URL%26nbsp%3B%20%3CU%3E%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fbeta%2Fteams%2Fxxxxxx-ec60-4e63-8d97-a9a127b899c9%2Fschedule%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fbeta%2Fteams%2Fxxxxxx-ec60-4e63-8d97-a9a127b899c9%2Fschedule%3C%2FA%3E%3C%2FU%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3EI%20tried%20v1.0%20and%20beta%20both%20does%20not%20work.%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHere%20is%20the%20input%20i%20gave%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%7B%3CBR%20%2F%3E'enabled'%3A%20true%2C%3CBR%20%2F%3E'timezone'%3A%20'America%2FChicago'%3CBR%20%2F%3E%7D%3C%2FP%3E%3CP%3Eit%20was%20PUT%20request%3C%2FP%3E%3CP%3Eits%20giving%20204%20response%20and%20schedule%20is%20not%20getting%20created.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1385866%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1395674%22%20slang%3D%22en-US%22%3ERe%3A%20Create%20schedule%20for%20Teams%20%2C%20graph%20api%20not%20working%2C%20204%20Response%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1395674%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F570445%22%20target%3D%22_blank%22%3E%40Yogi4%3C%2FA%3E%2C%20Data%20is%20getting%20updated%20and%20schedule%20is%20getting%20created%20but%20the%20response%20is%20not%20getting%20returned.%20We%20are%20checking%20this%20internally.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1398335%22%20slang%3D%22en-US%22%3ERe%3A%20Create%20schedule%20for%20Teams%20%2C%20graph%20api%20not%20working%2C%20204%20Response%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1398335%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F322587%22%20target%3D%22_blank%22%3E%40Abhijit_MSFT%3C%2FA%3E%26nbsp%3B%20When%20I%20fire%20GetSchedule%20API%20it%20is%20showing%20rovision%20State%20Failed%20...Here%20is%20the%20sample%20response%20%2C%20And%20this%20is%20not%20happening%20for%20all%20the%20calls%20%2C%20some%20of%20the%20calls%20are%20success.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3E%7B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%26nbsp%3B%3CSPAN%3E%22%3C%2FSPAN%3E%3CSPAN%3E%40odata.context%3C%2FSPAN%3E%3CSPAN%3E%22%3A%26nbsp%3B%22%3C%2FSPAN%3E%3CSPAN%3Ehttps%3A%3C%2FSPAN%3E%3CSPAN%3E%2F%2Fgraph.microsoft.com%2Fv1.0%2F%24metadata%23teams('20022699-d70d-4608-ba4d-XXXXXXX')%2Fschedule%2F%24entity%22%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22%40odata.etag%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22%3C%2FSPAN%3E%3CSPAN%3E%5C%22%3C%2FSPAN%3E%3CSPAN%3E020051ee-0000-0400-0000-XXXXXXX%3C%2FSPAN%3E%3CSPAN%3E%5C%22%3C%2FSPAN%3E%3CSPAN%3E%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22id%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%2220022699-d70d-4608-ba4d-XXXXXXX%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3E%22enabled%22%3A%26nbsp%3Bfalse%2C%3C%2FSTRONG%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22timeZone%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22America%2FChicago%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3E%22provisionStatus%22%3A%26nbsp%3B%22Failed%22%2C%3C%2FSTRONG%3E%3C%2FDIV%3E%3CDIV%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%22provisionStatusCode%22%3A%26nbsp%3B%22%22%2C%3C%2FSTRONG%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22workforceIntegrationIds%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%5B%5D%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22timeClockEnabled%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3Efalse%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22openShiftsEnabled%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3Efalse%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22swapShiftsRequestsEnabled%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3Efalse%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22offerShiftRequestsEnabled%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3Efalse%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22timeOffRequestsEnabled%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3Efalse%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%7D%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1458449%22%20slang%3D%22en-US%22%3ERe%3A%20Create%20schedule%20for%20Teams%20%2C%20graph%20api%20not%20working%2C%20204%20Response%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1458449%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F322587%22%20target%3D%22_blank%22%3E%40Abhijit_MSFT%3C%2FA%3E%26nbsp%3B%20thank%20you%20for%20your%20response%3C%2FP%3E%3CP%3ECan%20you%20please%20help%20me%20with%20ticket%20number%20if%20possible.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1452550%22%20slang%3D%22en-US%22%3ERe%3A%20Create%20schedule%20for%20Teams%20%2C%20graph%20api%20not%20working%2C%20204%20Response%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1452550%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F570445%22%20target%3D%22_blank%22%3E%40Yogi4%3C%2FA%3E%2C%20I%20missed%20to%20respond%20you%20here.%20I%20have%20raised%20a%20bug%20to%20get%20this%20resolved.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

I am getting 204 response and schedule is not getting created.

 

Here is URL  https://graph.microsoft.com/beta/teams/xxxxxx-ec60-4e63-8d97-a9a127b899c9/schedule

I tried v1.0 and beta both does not work.

 

Here is the input i gave

 

{
'enabled': true,
'timezone': 'America/Chicago'
}

it was PUT request

its giving 204 response and schedule is not getting created.

 

 

 

4 Replies
Highlighted

@Yogi4, Data is getting updated and schedule is getting created but the response is not getting returned. We are checking this internally.

Highlighted

@Abhijit_MSFT  When I fire GetSchedule API it is showing rovision State Failed ...Here is the sample response , And this is not happening for all the calls , some of the calls are success.

 

 

{
  "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#teams('20022699-d70d-4608-ba4d-XXXXXXX')/schedule/$entity",
  "@odata.etag""\"020051ee-0000-0400-0000-XXXXXXX\"",
  "id""20022699-d70d-4608-ba4d-XXXXXXX",
  "enabled": false,
  "timeZone""America/Chicago",
  "provisionStatus": "Failed",
  "provisionStatusCode": "",
  "workforceIntegrationIds": [],
  "timeClockEnabled"false,
  "openShiftsEnabled"false,
  "swapShiftsRequestsEnabled"false,
  "offerShiftRequestsEnabled"false,
  "timeOffRequestsEnabled"false
}
Highlighted

@Yogi4, I missed to respond you here. I have raised a bug to get this resolved.

Highlighted

 

@Abhijit_MSFT  thank you for your response

Can you please help me with ticket number if possible.