{"title":"Codeunit 8821 AAD Application Setup, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/8821-aad-application-setup/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":8821,"name":"AAD Application Setup","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/8821-aad-application-setup/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/8821-aad-application-setup/source/","path":"src/Layers/W1/BaseApp/System/AadApplication/AADApplicationSetup.Codeunit.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"codeunit:8820":{"name":"AAD Application Interface","url":"https://jonas-paprotka.de/ref/codeunit/8820-aad-application-interface/"},"codeunit:9999":{"name":"Upgrade Tag","url":"https://jonas-paprotka.de/ref/codeunit/9999-upgrade-tag/"},"codeunit:9998":{"name":"Upgrade Tag Definitions","url":"https://jonas-paprotka.de/ref/codeunit/9998-upgrade-tag-definitions/"}},"procs":[{"name":"CreateDynamics365BusinessCentralforVirtualEntitiesAAdApplication","line":26,"kind":"procedure","params":0,"steps":[[35,"call","GetD365BCForVEAppId",0],[37,"ext","codeunit",8820,"CreateAADApplication",3]]},{"name":"CreatePowerPagesAAdApplications","line":40,"kind":"procedure","params":0,"steps":[[51,"ext","codeunit",8820,"CreateAADApplication",3],[57,"ext","codeunit",8820,"CreateAADApplication",3]]},{"name":"CreateExpenseAgentAADApplications","line":60,"kind":"procedure","params":0,"steps":[[71,"ext","codeunit",8820,"CreateAADApplication",3]]},{"name":"ModifyDescriptionOfDynamics365BusinessCentralforVirtualEntitiesAAdApplication","line":74,"kind":"procedure","params":0,"steps":[[82,"call","GetD365BCForVEAppId",0],[83,"ext","codeunit",8820,"ModifyAADApplicationDescription",2]]},{"name":"InitSetup","line":87,"kind":"procedure","access":"local","params":0,"steps":[[92,"ext","codeunit",9999,"HasUpgradeTag",1],[92,"ext","codeunit",9998,"GetCreateDefaultAADApplicationTag",0],[93,"call","CreateDynamics365BusinessCentralforVirtualEntitiesAAdApplication",0],[94,"ext","codeunit",9999,"SetUpgradeTag",1],[94,"ext","codeunit",9998,"GetCreateDefaultAADApplicationTag",0],[96,"ext","codeunit",9999,"HasUpgradeTag",1],[96,"ext","codeunit",9998,"GetCreateDefaultPowerPagesAADApplicationsTag",0],[97,"call","CreatePowerPagesAAdApplications",0],[98,"ext","codeunit",9999,"SetUpgradeTag",1],[98,"ext","codeunit",9998,"GetCreateDefaultPowerPagesAADApplicationsTag",0],[100,"ext","codeunit",9999,"HasUpgradeTag",1],[100,"ext","codeunit",9998,"GetCreateExpenseAgentAADApplicationsTag",0],[101,"call","CreateExpenseAgentAADApplications",0],[102,"ext","codeunit",9999,"SetUpgradeTag",1],[102,"ext","codeunit",9998,"GetCreateExpenseAgentAADApplicationsTag",0]]}]}