Skip to content

content understanding: Added support for creation of analyzers#1032

Open
daolvera wants to merge 8 commits intoAzure:mainfrom
daolvera:olvera/Add-Content-Understanding-Analyzer-Support
Open

content understanding: Added support for creation of analyzers#1032
daolvera wants to merge 8 commits intoAzure:mainfrom
daolvera:olvera/Add-Content-Understanding-Analyzer-Support

Conversation

@daolvera
Copy link

Extends support for the management of a content understanding analyzer as an az data plane resource

@daolvera
Copy link
Author

If I need to create an issue first, please let me know. I was just working on a project where we want to test content understanding and have the rest of the deployments as terraform. Thanks!

@daolvera
Copy link
Author

@microsoft-github-policy-service agree

@ms-henglu
Copy link
Member

Hi @daolvera ,

Thank you for taking time to open this PR!

I tested it locally, and encountered some API issues. I tried to fix it, but still can't get the tests passing. Please check: ms-henglu@27eece0

@daolvera
Copy link
Author

daolvera commented Jan 5, 2026

Thanks @ms-henglu! I will look at fixing up this pr this week!

@daolvera
Copy link
Author

daolvera commented Jan 5, 2026

Hi @daolvera ,

Thank you for taking time to open this PR!

I tested it locally, and encountered some API issues. I tried to fix it, but still can't get the tests passing. Please check: ms-henglu@27eece0

Try that, locally the tests pass and I can run the example to create an example analyzer. Thanks for all your help!

@ms-henglu
Copy link
Member

Hi @daolvera ,

Thanks for the quick update!

But the test is still failing:

        --------------------------------------------------------------------------------
        RESPONSE 401: 401 Unauthorized
        ERROR CODE: PermissionDenied
        --------------------------------------------------------------------------------
        {
          "error": {
            "code": "PermissionDenied",
            "message": "The principal `88394edf-**********-9fa****e481` lacks the required data action `Microsoft.CognitiveServices/accounts/analyzers/analyzers/read` to perform `GET /contentunderstanding/analyzers/{analyzerId}` operation."
          }
        }
        --------------------------------------------------------------------------------
        
--- FAIL: TestAccDataPlaneResource_contentUnderstandingAnalyzer (60.72s)

@daolvera
Copy link
Author

daolvera commented Jan 7, 2026

@ms-henglu I did not run into this locally so I did not catch this. Thank you. I have pushed up the relevant fixes

@daolvera daolvera force-pushed the olvera/Add-Content-Understanding-Analyzer-Support branch from e0ee2ba to 712057e Compare January 20, 2026 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants