Open juanmicrosoft opened 7 months ago
I fixed it by changing the scope in the manifest from groupChat to groupchat. But the dev.teams.microsoft.com portal uses groupChat so I assume it is a valid value here.
@juanmicrosoft thanks for reporting the issue. Since it is fixed so close it here.
Thanks for reporting this issue @juanmicrosoft . This is a known issue, and the suggested workaround is to use lower case "groupchat". Sorry for the inconvenience!
Thanks for reporting this issue @juanmicrosoft . This is a known issue, and the suggested workaround is to use lower case "groupchat". Sorry for the inconvenience!
i tried with 1.17 version with the lowercase, only 1.15 work
(×) Error: /configurableTabs/0/scopes/0 must be equal to one of the allowed values
Hey @G9000 , you may need to use "groupchat" and version lower than v1.17 for now. In v1.17, "groupchat" has been updated to "groupChat". But there are some remaining work to support it from MOS3 side.
cc @anchenyi , do you have updates on this? Or please correct me if I was wrong. Thanks!
@nliu-ms To clarify - we shipped this broken? Both the docs and TDP show "groupChat" but I can't get it to work. Why did we break backward compatibility? Why did we ship the change in docs and TDP before the product could handle it?
hi @BobGerman, thanks for your feedback. Could you provide your manifest.json for investigation?
An unexpected error has occurred while performing the M365 task. {"stack":"Error: {\"":\"Request failed with status code ",\"":\"{\\"\":{\\"\":\\"\",\\"\":\\"Manifest is not valid: [\\n \\\\"Value \\\\\\\\"\\\\\\\" is not defined in enum. Path 'configurableTabs[0].scopes[0]', line 33, position \\\"\\n]\\"}}\",\"":\""}\n at createError (:14:415133)\n at settle (:14:419413)\n at IncomingMessage.handleStreamEnd (:14:404717)\n at IncomingMessage.emit (node:events:525:35)\n at IncomingMessage.emit (node:domain:489:12)\n at endReadableNT (node::1359:12)\n at processTicksAndRejections (node::82:21)","message":"{\"":\"Request failed with status code ",\"":\"{\\"\":{\\"\":\\"\",\\"\":\\"Manifest is not valid: [\\n \\\\"Value \\\\\\\\"\\\\\\\" is not defined in enum. Path 'configurableTabs[0].scopes[0]', line 33, position \\\"\\n]\\"}}\",\"":\""}","config":{}}
stack: UnhandledError: An unexpected error has occurred while performing the M365 task. {"stack":"Error: {\"":\"Request failed with status code ",\"":\"{\\"\":{\\"\":\\"\",\\"\":\\"Manifest is not valid: [\\n \\\\"Value \\\\\\\\"\\\\\\\" is not defined in enum. Path 'configurableTabs[0].scopes[0]', line 33, position \\\"\\n]\\"}}\",\"":\""}\n at createError (:14:415133)\n at settle (:14:419413)\n at IncomingMessage.handleStreamEnd (:14:404717)\n at IncomingMessage.emit (node:events:525:35)\n at IncomingMessage.emit (node:domain:489:12)\n at endReadableNT (node::1359:12)\n at processTicksAndRejections (node::82:21)","message":"{\"":\"Request failed with status code ",\"":\"{\\"\":{\\"\":\\"\",\\"\":\\"Manifest is not valid: [\\n \\\\"Value \\\\\\\\"\\\\\\\" is not defined in enum. Path 'configurableTabs[0].scopes[0]', line 33, position \\\"\\n]\\"}}\",\"":\""}","config":{}}
at Object.assembleError (:14:6801865)
at PackageService.sideLoading (:14:5921326)
at processTicksAndRejections (node::95:5)
at PackageService. (:14:6670138)
at M365TitleAcquireDriver.handler (:14:6242408)
at :14:6241362
at Object.wrapRun (:14:6565429)
at M365TitleAcquireDriver.execute (:14:6241315)
at M365TitleAcquireDriver. (:14:6245367)
at Lifecycle.executeImpl (:14:6005349)
at Lifecycle.execute (:14:6002506)
at Coordinator.provision (:14:6046302)
at Coordinator. (:14:6670138)
at FxCore.provisionResources (:14:6599247)
at FxCore.exports.EnvWriterMW (:14:6512104)
at FxCore.exports.ContextInjectorMW (:14:6673890)
at FxCore.exports.ConcurrentLockerMW (:14:6672841)
at envLoaderMWImpl (:14:6512051)
at FxCore. (:14:6510965)
at FxCore.exports.ProjectMigratorMWV3 (:14:6704441)
at FxCore.exports.ErrorHandlerMW (:14:6674387)
at FxCore. (:14:6670138)