Skip to content

Commit

Permalink
[25.x] [Copilot] Expand chat availability (#2866)
Browse files Browse the repository at this point in the history
#### Summary
Remove the application family check when registering the Chat Copilot
capability.
This will allow the capability to be enabled in all deployments 🎉 

#### Work Item(s)
Fixes
[AB#502565](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/502565)
  • Loading branch information
msft-sam authored Jan 30, 2025
1 parent 9ec417e commit bbd36c5
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,8 @@ codeunit 7760 "Copilot Capability Install"
AnalyzeListLearnMoreLbl: Label 'https://go.microsoft.com/fwlink/?linkid=2252783', Locked = true;

internal procedure RegisterCapabilities()
var
EnvironmentInformation: Codeunit "Environment Information";
ApplicationFamily: Text;
begin
ApplicationFamily := EnvironmentInformation.GetApplicationFamily();
if ApplicationFamily in ['AT', 'BE', 'BG', 'CH', 'CZ', 'DK', 'EE', 'ES', 'FI', 'GR', 'HR', 'HU', 'IE', 'IS', 'IT', 'LT', 'LV', 'MX', 'NL', 'PL', 'PT', 'RO', 'RS', 'SE', 'SI', 'SK', 'UA', 'US', 'W1'] then
RegisterSaaSCapability(Enum::"Copilot Capability"::Chat, Enum::"Copilot Availability"::Preview, ChatLearnMoreLbl);

RegisterSaaSCapability(Enum::"Copilot Capability"::Chat, Enum::"Copilot Availability"::Preview, ChatLearnMoreLbl);
RegisterSaaSCapability(Enum::"Copilot Capability"::"Analyze List", Enum::"Copilot Availability"::Preview, AnalyzeListLearnMoreLbl);
end;

Expand Down

0 comments on commit bbd36c5

Please sign in to comment.