When creating NAV/Business Central Containers from New-Navcontainer command, If you have not used this switch -accept_outdated, your container will not work after 90 days and will end up with this below message.
You are trying to run a container which is more than 90 days old.
Microsoft recommends that you always run the latest version of our containers.
Set the environment variable ACCEPT_OUTDATED to ‘Y’ if you want to run this container anyway.
To fix this up you need to update the “SetupVariables.ps1″ file in the container.
Open PowerShell with Run as administrator and execute the below commands.
Step 1: In Powershell
Step 2: In Powershell
From the windows explorer navigate to the location “C:\ProgramData\NavContainerHelper\Extensions\D365BC\my”
Open the SetupVariables.ps1 and add the below-highlighted line $Accept_outdated = “Y” and then save the file.
Step 4: In Powershell
Step 5: In Powershell
I think there should be some easy way to run old containers but just thought of sharing this little information. Hope this helps to run your old containers so that you can recover some information from the container if any.