Wikis - Page

Knowledge Document: Teams integration - operation not permitted error

1 Likes

Environment

Content Manager 23.4.1

Situation

When someone tries to check-in documents from Teams app they are receiving Operation Not Permitted error.
Environment is in Azure and they have app gateway

They were able to find the below stack trace:

2024-10-17 10:37:12,302 [16] ERROR HP.HPTRIM.ServiceModel.AttachM365Site - Content Manager Workgroup Server on 'SERVER11' reported an error. This operation is not permitted.
TRIM.SDK.TrimException: Content Manager Workgroup Server on 'SERVER11' reported an error. This operation is not permitted.
at TRIM.SDK.TrimMainObject.Save()
at HP.HPTRIM.Service.AttachM365SiteService.<>c__DisplayClass0_0.<Post>b__0(Record record)
at HP.HPTRIM.Service.MethodServiceBase.doPost[T](BaseMainObjectMethod request, Action`1 action)
at ServiceStack.Host.ServiceRunner`1.<ExecuteAsync>d__15.MoveNext() in /home/runner/work/ServiceStack/ServiceStack/ServiceStack/src/ServiceStack/Host/ServiceRunner.cs:line 131
2024-10-17 10:37:12,302 [16] ERROR ServiceStack.ServiceStackHost - Content Manager Workgroup Server on 'SERVER11' reported an error. This operation is not permitted.
TRIM.SDK.TrimException: Content Manager Workgroup Server on 'SERVER11' reported an error. This operation is not permitted.
at TRIM.SDK.TrimMainObject.Save()
at HP.HPTRIM.Service.AttachM365SiteService.<>c__DisplayClass0_0.<Post>b__0(Record record)
at HP.HPTRIM.Service.MethodServiceBase.doPost[T](BaseMainObjectMethod request, Action`1 action)
at ServiceStack.Host.ServiceRunner`1.<ExecuteAsync>d__15.MoveNext() in /home/runner/work/ServiceStack/ServiceStack/ServiceStack/src/ServiceStack/Host/ServiceRunner.cs:line 131
2024-10-17 10:37:12,302 [16] ERROR HP.HPTRIM.Service.BaseTrimObjectUpdater - Error saving: HP.HPTRIM.ServiceModel.Record - Content Manager Workgroup Server on 'SERVER11' reported an error. This operation is not permitted.
ServiceStack.HttpError: Content Manager Workgroup Server on 'SERVER11' reported an error. This operation is not permitted. ---> ServiceStack.HttpError: Content Manager Workgroup Server on 'SERVER11' reported an error. This operation is not permitted. ---> TRIM.SDK.TrimException: Content Manager Workgroup Server on 'SERVER11' reported an error. This operation is not permitted.
at TRIM.SDK.TrimMainObject.Save()
at HP.HPTRIM.Service.AttachM365SiteService.<>c__DisplayClass0_0.<Post>b__0(Record record)
at HP.HPTRIM.Service.MethodServiceBase.doPost[T](BaseMainObjectMethod request, Action`1 action)
at ServiceStack.Host.ServiceRunner`1.<ExecuteAsync>d__15.MoveNext() in /home/runner/work/ServiceStack/ServiceStack/ServiceStack/src/ServiceStack/Host/ServiceRunner.cs:line 131
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
at HP.HPTRIM.Service.BaseTrimObjectUpdater.callActions(IEnumerable`1 actionsToCall, BaseObjectTypes trimType, IRequest requestContext, TrimObject tmo, Action addWarnings, TrimMainObject parentObject, TrimMainObject request)
at HP.HPTRIM.Service.TrimObjectUpdater`1.update(T request, IRequest requestContext, IAuthSession session, Action`2 action)
2024-10-17 10:37:12,302 [16] ERROR HP.HPTRIM.ServiceModel.Record - Content Manager Workgroup Server on 'SERVER11' reported an error. This operation is not permitted.
ServiceStack.HttpError: Content Manager Workgroup Server on 'SERVER11' reported an error. This operation is not permitted. ---> ServiceStack.HttpError: Content Manager Workgroup Server on 'SERVER11' reported an error. This operation is not permitted. ---> TRIM.SDK.TrimException: Content Manager Workgroup Server on 'SERVER11' reported an error. This operation is not permitted.
at TRIM.SDK.TrimMainObject.Save()
at HP.HPTRIM.Service.AttachM365SiteService.<>c__DisplayClass0_0.<Post>b__0(Record record)
at HP.HPTRIM.Service.MethodServiceBase.doPost[T](BaseMainObjectMethod request, Action`1 action)
at ServiceStack.Host.ServiceRunner`1.<ExecuteAsync>d__15.MoveNext() in /home/runner/work/ServiceStack/ServiceStack/ServiceStack/src/ServiceStack/Host/ServiceRunner.cs:line 131
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
at HP.HPTRIM.Service.BaseTrimObjectUpdater.callActions(IEnumerable`1 actionsToCall, BaseObjectTypes trimType, IRequest requestContext, TrimObject tmo, Action addWarnings, TrimMainObject parentObject, TrimMainObject request)
at HP.HPTRIM.Service.TrimObjectUpdater`1.update(T request, IRequest requestContext, IAuthSession session, Action`2 action)
at HP.HPTRIM.Service.RecordDocumentServiceBase.DoPost(Record request)
at HP.HPTRIM.Service.RecordDocumentService.Post(Record request)
at ServiceStack.Host.ServiceRunner`1.<ExecuteAsync>d__15.MoveNext() in /home/runner/work/ServiceStack/ServiceStack/ServiceStack/src/ServiceStack/Host/ServiceRunner.cs:line 131
2024-10-17 10:37:12,302 [16] ERROR ServiceStack.ServiceStackHost - Content Manager Workgroup Server on 'SERVER11' reported an error. This operation is not permitted.
ServiceStack.HttpError: Content Manager Workgroup Server on 'SERVER11' reported an error. This operation is not permitted. ---> ServiceStack.HttpError: Content Manager Workgroup Server on 'SERVER11' reported an error. This operation is not permitted. ---> TRIM.SDK.TrimException: Content Manager Workgroup Server on 'SERVER11' reported an error. This operation is not permitted.
at TRIM.SDK.TrimMainObject.Save()
at HP.HPTRIM.Service.AttachM365SiteService.<>c__DisplayClass0_0.<Post>b__0(Record record)
at HP.HPTRIM.Service.MethodServiceBase.doPost[T](BaseMainObjectMethod request, Action`1 action)
at ServiceStack.Host.ServiceRunner`1.<ExecuteAsync>d__15.MoveNext() in /home/runner/work/ServiceStack/ServiceStack/ServiceStack/src/ServiceStack/Host/ServiceRunner.cs:line 131
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
at HP.HPTRIM.Service.BaseTrimObjectUpdater.callActions(IEnumerable`1 actionsToCall, BaseObjectTypes trimType, IRequest requestContext, TrimObject tmo, Action addWarnings, TrimMainObject parentObject, TrimMainObject request)
at HP.HPTRIM.Service.TrimObjectUpdater`1.update(T request, IRequest requestContext, IAuthSession session, Action`2 action)
at HP.HPTRIM.Service.RecordDocumentServiceBase.DoPost(Record request)
at HP.HPTRIM.Service.RecordDocumentService.Post(Record request)
at ServiceStack.Host.ServiceRunner`1.<ExecuteAsync>d__15.MoveNext() in /home/runner/work/ServiceStack/ServiceStack/ServiceStack/src/ServiceStack/Host/ServiceRunner.cs:line 131
2024-10-17 10:37:12,302 [16] DEBUG HP.HPTRIM.Service.TrimAppHost - End of Request.

For more information click here

Labels:

Support Tips/Knowledge Docs
Comment List
Related
Recommended