-
Notifications
You must be signed in to change notification settings - Fork 323
AOAI Policy configuration #5091
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
dchourasia30
merged 30 commits into
main
from
private/dchourasia/aoaipolicyconfiguration
Dec 16, 2025
Merged
AOAI Policy configuration #5091
dchourasia30
merged 30 commits into
main
from
private/dchourasia/aoaipolicyconfiguration
Dec 16, 2025
+333
−6
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
qutreson
reviewed
Oct 8, 2025
src/System Application/App/AI/src/Azure OpenAI/Chat Completion/AOAIChatMessagesImpl.Codeunit.al
Outdated
Show resolved
Hide resolved
qutreson
reviewed
Oct 8, 2025
src/System Application/App/AI/src/Azure OpenAI/Chat Completion/AOAIPolicyParams.Codeunit.al
Outdated
Show resolved
Hide resolved
qutreson
reviewed
Oct 8, 2025
src/System Application/App/AI/src/Azure OpenAI/Chat Completion/AOAIPolicyHarmsSeverity.Enum.al
Outdated
Show resolved
Hide resolved
qutreson
reviewed
Oct 8, 2025
src/System Application/App/AI/src/Azure OpenAI/Chat Completion/AOAIPolicyHarmsSeverity.Enum.al
Show resolved
Hide resolved
qutreson
reviewed
Oct 8, 2025
src/System Application/App/AI/src/Azure OpenAI/Chat Completion/AOAIPolicyParams.Codeunit.al
Outdated
Show resolved
Hide resolved
qutreson
reviewed
Oct 8, 2025
src/System Application/App/AI/src/Azure OpenAI/Chat Completion/AOAIPolicyParams.Codeunit.al
Show resolved
Hide resolved
qutreson
reviewed
Oct 8, 2025
...stem Application/App/AI/src/Azure OpenAI/Chat Completion/AOAIPolicyParamsMapping.Codeunit.al
Outdated
Show resolved
Hide resolved
qutreson
reviewed
Oct 8, 2025
src/System Application/App/AI/src/Azure OpenAI/Chat Completion/AOAIPolicy.Enum.al
Show resolved
Hide resolved
b39d9a3 to
cb65cb0
Compare
…te/dchourasia/aoaipolicyconfiguration
…te/dchourasia/aoaipolicyconfiguration
…te/dchourasia/aoaipolicyconfiguration
qutreson
reviewed
Oct 15, 2025
src/System Application/App/AI/src/Azure OpenAI/Chat Completion/AOAIPolicyHarmsSeverity.Enum.al
Outdated
Show resolved
Hide resolved
msft-sam
previously approved these changes
Dec 4, 2025
qutreson
reviewed
Dec 5, 2025
src/System Application/App/AI/src/Azure OpenAI/Chat Completion/AOAIPolicyParams.Codeunit.al
Show resolved
Hide resolved
qutreson
reviewed
Dec 5, 2025
src/System Application/App/AI/src/Azure OpenAI/Chat Completion/AOAIChatMessagesImpl.Codeunit.al
Outdated
Show resolved
Hide resolved
qutreson
previously approved these changes
Dec 5, 2025
…te/dchourasia/aoaipolicyconfiguration
…te/dchourasia/aoaipolicyconfiguration
aholstrup1
previously approved these changes
Dec 9, 2025
darjoo
previously approved these changes
Dec 9, 2025
...stem Application/App/AI/src/Azure OpenAI/Chat Completion/AOAIChatComplParamsImpl.Codeunit.al
Outdated
Show resolved
Hide resolved
…/AOAIChatComplParamsImpl.Codeunit.al
darjoo
approved these changes
Dec 9, 2025
aholstrup1
approved these changes
Dec 9, 2025
…te/dchourasia/aoaipolicyconfiguration
Jose-agg
approved these changes
Dec 16, 2025
dchourasia30
added a commit
that referenced
this pull request
Dec 26, 2025
<!-- Thank you for submitting a Pull Request. If you're new to contributing to BCApps please read our pull request guideline below * https://github.com/microsoft/BCApps/Contributing.md --> #### Summary <!-- Provide a general summary of your changes --> Add support for Policy configuration via AOAI Policy Params. Support for enabling/disabling XPIA detection. #### Work Item(s) <!-- Add the issue number here after the #. The issue needs to be open and approved. Submitting PRs with no linked issues or unapproved issues is highly discouraged. --> Fixes [AB#561651](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/561651) Some regressions noted in PA-Harms test for UPIA datasets (4 datasets). I have manually reviewed 5 failing cases from each of the failing dataset and it looks to be False positive. So we should be good to go with this. --------- Co-authored-by: Dishant Chourasia <dchourasia@microsoft.com> Co-authored-by: Darrick <darjoo@users.noreply.github.com>
dchourasia30
added a commit
that referenced
this pull request
Dec 26, 2025
<!-- Thank you for submitting a Pull Request. If you're new to contributing to BCApps please read our pull request guideline below * https://github.com/microsoft/BCApps/Contributing.md --> #### Summary <!-- Provide a general summary of your changes --> Add support for Policy configuration via AOAI Policy Params. Support for enabling/disabling XPIA detection. #### Work Item(s) <!-- Add the issue number here after the #. The issue needs to be open and approved. Submitting PRs with no linked issues or unapproved issues is highly discouraged. --> Fixes [AB#561651](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/561651) Some regressions noted in PA-Harms test for UPIA datasets (4 datasets). I have manually reviewed 5 failing cases from each of the failing dataset and it looks to be False positive. So we should be good to go with this. --------- Co-authored-by: Dishant Chourasia <dchourasia@microsoft.com> Co-authored-by: Darrick <darjoo@users.noreply.github.com>
dchourasia30
added a commit
that referenced
this pull request
Dec 26, 2025
<!-- Thank you for submitting a Pull Request. If you're new to contributing to BCApps please read our pull request guideline below * https://github.com/microsoft/BCApps/Contributing.md --> #### Summary <!-- Provide a general summary of your changes --> Add support for Policy configuration via AOAI Policy Params. Support for enabling/disabling XPIA detection. #### Work Item(s) <!-- Add the issue number here after the #. The issue needs to be open and approved. Submitting PRs with no linked issues or unapproved issues is highly discouraged. --> Fixes [AB#561651](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/561651) Some regressions noted in PA-Harms test for UPIA datasets (4 datasets). I have manually reviewed 5 failing cases from each of the failing dataset and it looks to be False positive. So we should be good to go with this. --------- Co-authored-by: Dishant Chourasia <dchourasia@microsoft.com> Co-authored-by: Darrick <darjoo@users.noreply.github.com>
dchourasia30
added a commit
that referenced
this pull request
Dec 26, 2025
<!-- Thank you for submitting a Pull Request. If you're new to contributing to BCApps please read our pull request guideline below * https://github.com/microsoft/BCApps/Contributing.md --> #### Summary <!-- Provide a general summary of your changes --> Add support for Policy configuration via AOAI Policy Params. Support for enabling/disabling XPIA detection. #### Work Item(s) <!-- Add the issue number here after the #. The issue needs to be open and approved. Submitting PRs with no linked issues or unapproved issues is highly discouraged. --> Fixes [AB#561651](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/561651) Some regressions noted in PA-Harms test for UPIA datasets (4 datasets). I have manually reviewed 5 failing cases from each of the failing dataset and it looks to be False positive. So we should be good to go with this. --------- Co-authored-by: Dishant Chourasia <dchourasia@microsoft.com> Co-authored-by: Darrick <darjoo@users.noreply.github.com>
dchourasia30
added a commit
that referenced
this pull request
Jan 21, 2026
<!-- Thank you for submitting a Pull Request. If you're new to contributing to BCApps please read our pull request guideline below * https://github.com/microsoft/BCApps/Contributing.md --> #### Summary <!-- Provide a general summary of your changes --> Add support for Policy configuration via AOAI Policy Params. Support for enabling/disabling XPIA detection. #### Work Item(s) <!-- Add the issue number here after the #. The issue needs to be open and approved. Submitting PRs with no linked issues or unapproved issues is highly discouraged. --> Fixes [AB#561651](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/561651) Some regressions noted in PA-Harms test for UPIA datasets (4 datasets). I have manually reviewed 5 failing cases from each of the failing dataset and it looks to be False positive. So we should be good to go with this. --------- Co-authored-by: Dishant Chourasia <dchourasia@microsoft.com> Co-authored-by: Darrick <darjoo@users.noreply.github.com>
dchourasia30
added a commit
that referenced
this pull request
Jan 21, 2026
<!-- Thank you for submitting a Pull Request. If you're new to contributing to BCApps please read our pull request guideline below * https://github.com/microsoft/BCApps/Contributing.md --> #### Summary <!-- Provide a general summary of your changes --> Add support for Policy configuration via AOAI Policy Params. Support for enabling/disabling XPIA detection. #### Work Item(s) <!-- Add the issue number here after the #. The issue needs to be open and approved. Submitting PRs with no linked issues or unapproved issues is highly discouraged. --> Fixes [AB#618976](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/618976) Some regressions noted in PA-Harms test for UPIA datasets (4 datasets). I have manually reviewed 5 failing cases from each of the failing dataset and it looks to be False positive. So we should be good to go with this. --------- <!-- Thank you for submitting a Pull Request. If you're new to contributing to BCApps please read our pull request guideline below * https://github.com/microsoft/BCApps/Contributing.md --> #### Summary <!-- Provide a general summary of your changes --> #### Work Item(s) <!-- Add the issue number here after the #. The issue needs to be open and approved. Submitting PRs with no linked issues or unapproved issues is highly discouraged. --> Fixes # Co-authored-by: Dishant Chourasia <dchourasia@microsoft.com> Co-authored-by: Darrick <darjoo@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Add support for Policy configuration via AOAI Policy Params.
Support for enabling/disabling XPIA detection.
Work Item(s)
Fixes AB#561651
Some regressions noted in PA-Harms test for UPIA datasets (4 datasets). I have manually reviewed 5 failing cases from each of the failing dataset and it looks to be False positive. So we should be good to go with this.